[FFmpeg-devel] [PATCH] Fail when lowres value is lower than 0

ami_stuff ami_stuff at o2.pl
Wed May 25 19:53:38 CEST 2011


The attached patch fixes the crash which happens when user passes lowres value lower than 0 to FFplay.

ffplay -lowres -1 test.mpg

Another idea would be to add opt_lowres() to ffplay.c, but I think it is better to fix the problem
in libavcodec?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lowres.diff
Type: text/x-diff
Size: 553 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110525/811cdaa9/attachment.bin>

More information about the ffmpeg-devel mailing list