[FFmpeg-devel] [PATCH 01/11] avcodec/prosumer: Remove dead code

Paul B Mahol onemda at gmail.com
Sat Sep 22 19:24:14 EEST 2018


On 9/22/18, Michael Niedermayer <michael at niedermayer.cc> wrote:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/prosumer.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c
> index a2932852c9..e6959bfb6c 100644
> --- a/libavcodec/prosumer.c
> +++ b/libavcodec/prosumer.c
> @@ -322,9 +322,6 @@ static void fill_lut(uint32_t *lut)
>          uint32_t b = a & 0xFFu;
>          uint32_t c, d, e;
>
> -        if (b > 3)
> -            continue;
> -
>          c = (b << 16) | table[i-1];
>          d = 4 * (3 - b);
>          e = (((0xFFF00000u << d) & a) >> 20) & 0xFFF;
> --
> 2.19.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

LGTM whole patchset.

I assuming all files we have still decodes fine after this applied.


More information about the ffmpeg-devel mailing list