On 09/08/14 08:46, Nidhi Makhijani wrote:
> ---
>  libavformat/mpegtsenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
> index 457b2e7..cdaf276 100644
> --- a/libavformat/mpegtsenc.c
> +++ b/libavformat/mpegtsenc.c
> @@ -165,7 +165,7 @@ static int mpegts_write_section1(MpegTSSection *s, int 
> tid, int id,
>      tot_len = 3 + 5 + len + 4;
>      /* check if not too big */
>      if (tot_len > 1024)
> -        return -1;
> +        return AVERROR_INVALIDDATA;
>  
>      q    = section;
>      *q++ = tid;
> 

It is the only one in the remaining in the file?

patch queued.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to