[FFmpeg-devel] [PATCH] mpeg4videodec: Fix unused variable warning

Michael Niedermayer michael at niedermayer.cc
Sun Dec 24 01:57:23 EET 2017


On Thu, Dec 21, 2017 at 07:54:56PM +0000, Mark Thompson wrote:
> video_format is not used.
> ---
> Introduced by 4b2a186ef02c1fbe7f7cae30a2bdfff72bcc75f7:
> 
> src/libavcodec/mpeg4videodec.c: In function ‘mpeg4_decode_visual_object’:
> src/libavcodec/mpeg4videodec.c:1771:17: warning: unused variable ‘video_format’ [-Wunused-variable]
>              int video_format = get_bits(gb, 3);
>                  ^~~~~~~~~~~~
> 
>  libavcodec/mpeg4videodec.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171224/3d1ed271/attachment.sig>


More information about the ffmpeg-devel mailing list