On Fri, Oct 28, 2011 at 10:40:38AM -0700, Ronald S. Bultje wrote:
> Hi,
>
> > static int try_decode_frame(AVStream *st, AVPacket *avpkt, AVDictionary
> > **options)
> > {
> > int16_t *samples;
> > AVCodec *codec;
> > - int got_picture, data_size, ret=0;
> > + int got_picture, data_size, ret=0, nb_decoded_frames=0;
>
> This won't keep the value of nb_decoded_frames in multiple calls to
> try_decode_frame() and will thus not solve the bug.
blergh, I should have looked at try_decode_frame. patch and objections
dropped, adding it to AVStream.info is fine.
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel