[FFmpeg-devel] [PATCH] avcodec/vlc: auto calculate depth

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Jun 27 23:50:46 EEST 2023


Paul B Mahol:
> On Tue, Jun 27, 2023 at 9:47 PM Andreas Rheinhardt <
> andreas.rheinhardt at outlook.com> wrote:
> 
>> Paul B Mahol:
>>> Patch attached.
>>>
>>
>> Where do you intend to use this? What is the point of it?
>> After all, using this value in GET_VLC makes no sense; only compile-time
>> constants do.
>>
> 
> It works when used in ac-4 as get_vlc2.
> 

Could you please define "works"? Using a non-compile-time constant will
not benefit at all; it will only lead to more runtime checks.

- Andreas



More information about the ffmpeg-devel mailing list