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

Mark Thompson sw at jkqxz.net
Tue Dec 26 19:34:08 EET 2017


On 23/12/17 23:57, Michael Niedermayer wrote:
> 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

Applied.

Thanks,

- Mark


More information about the ffmpeg-devel mailing list