Discontinuous sample could cause corrupted image if next video frame
is non-key frame.

Mostly, avio_seek() fails on I/O error for http/ftp/... stream.
In my opinion, retry is better than skip.

> -    /* must be done just before reading, to avoid infinite loop on sample */
> -    sc->current_sample++;

This line was first introduced in 2006 by commit b72708f8f.
I'm not sure if it worth an option to enable the new behaviour,
and keep the default behaviour as before.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to