[FFmpeg-devel] Few commits with fixes to silent warnings
Lukasz Marek
lukasz.m.luki at gmail.com
Sat Feb 15 04:35:42 CET 2014
>> From: Lukasz Marek <lukasz.m.luki at gmail.com>
>> Date: Fri, 14 Feb 2014 23:20:46 +0100
>> Subject: [PATCH 2/3] lavc/motion_est: remove unused variable
>>
>> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
>> ---
>> libavcodec/motion_est.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
>> index f4d217b..481188b 100644
>> --- a/libavcodec/motion_est.c
>> +++ b/libavcodec/motion_est.c
>> @@ -390,7 +390,6 @@ static int sad_hpel_motion_search(MpegEncContext * s,
>> int mx, my, dminh;
>> uint8_t *pix, *ptr;
>> int stride= c->stride;
>> - const int flags= c->sub_flags;
>> LOAD_COMMON
>>
>> av_assert2(flags == 0);
> ^^^^^
> ehm
Tricked.
New patch attached with assumption assert is there for a reason.
--
Best Regards,
Lukasz Marek
If you can't explain it simply, you don't understand it well enough. -
Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-motion_est-remove-unused-variable.patch
Type: text/x-patch
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140215/cc6f5260/attachment.bin>
More information about the ffmpeg-devel
mailing list