[FFmpeg-devel] Few commits with fixes to silent warnings

Michael Niedermayer michaelni at gmx.at
Sat Feb 15 13:50:08 CET 2014


On Sat, Feb 15, 2014 at 04:35:42AM +0100, Lukasz Marek wrote:
> >>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

>  motion_est.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 284af2b7c3a06be4fb0bc3c6d42ad9dd10ecb7e5  0001-lavc-motion_est-remove-unused-variable.patch
> From 4578d3e03b2a3f2d0c4ccfbb0b86fe9145584259 Mon Sep 17 00:00:00 2001
> From: Lukasz Marek <lukasz.m.luki at gmail.com>
> Date: Fri, 14 Feb 2014 23:20:46 +0100
> Subject: [PATCH] lavc/motion_est: remove unused variable

applied

thx
[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- 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/20140215/b1f34b8b/attachment.asc>


More information about the ffmpeg-devel mailing list