On Thu, 16 Jun 2011 11:02:38 -0400, Justin Ruggles <[email protected]> 
wrote:
> On 06/16/2011 12:36 AM, Anton Khirnov wrote:
> 
> > +            if (!output_codecs[i])
> > +                output_codecs[i] = 
> > avcodec_find_encoder(ost->st->codec->codec_id);
> > +
> 
> 
> You need to check to make sure i < nb_output_codecs.

Isn't that always true?

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

Reply via email to