[FFmpeg-devel] [PATCH] stop av_find_stream_info after reading a certain amount of frames
Marc Mason
mpeg.blue
Tue Feb 24 16:24:18 CET 2009
Baptiste Coudurier wrote:
> Index: libavformat/utils.c
> ===================================================================
> --- libavformat/utils.c (revision 17505)
> +++ libavformat/utils.c (working copy)
> @@ -2019,7 +2019,7 @@
>
> count = 0;
> read_size = 0;
> - for(;;) {
> + for(; count < 200; ) {
Just wondering. Why not "while (count < 200)" ?
--
Regards.
More information about the ffmpeg-devel
mailing list