[FFmpeg-devel] [PATCH]lavc/opusenc_psy: Remove a write-only variable

Jun Zhao mypopydev at gmail.com
Fri Jan 5 04:38:39 EET 2018



On 2018/1/5 10:24, Rostislav Pehlivanov wrote:
> On 4 January 2018 at 04:38, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> Hi!
>>
>> Attached patch fixes a warning here when compiling the opus encoder.
>>
>> Please comment, Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>>
> Whatever compiler is printing out that warning, tell them its annoying and
> it should shut up
>
> I don't like this patch and I'm planning on using that variable in the
> future.
If you want keep the variable, it's need to split the declarations and
code to clean
the build warning like "warning: ISO C90 forbids mixed declarations and
code"
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list