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

Michael Niedermayer michaelni at gmx.at
Wed May 25 23:41:51 CEST 2011


On Wed, May 25, 2011 at 07:53:38PM +0200, ami_stuff wrote:
> Hi,
> 
> 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?
> 
> Regards

>  utils.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ca62632de2c1bca424c4182c2a9cb839976cdfca  __UTF-8_Q_lowres.diff__

applied locally

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110525/fb8c327c/attachment.asc>


More information about the ffmpeg-devel mailing list