On Thu, Jul 23, 2015 at 5:13 PM, Gonzalo Garramuno <[email protected]> wrote:
> I understand that some video (and audio) codecs cache frames to decode B > frames for example. In order to retrieve the last frames of such movies, > it is needed to call av_read_frame and wait for an error of AVERROR_EOF > which then means I need to pass packets with NULL and size 0. > This is all dandy. However, I would like to know in advance how many > times I will need to pass packets with NULL and size 0. Is there a way to > know this? > > until it stops returning a frame. > -- > Gonzalo Garramuño > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
