diff mbox series

[FFmpeg-devel] avcodec/jpegxl_parser: Remove unused function

Message ID AS8P250MB07441483FEEE2475073EE2248FFCA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 945760b3479966baad226930592cc4243522ff83
Headers show
Series [FFmpeg-devel] avcodec/jpegxl_parser: Remove unused function | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 25, 2023, 8:36 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/jpegxl_parser.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Andreas Rheinhardt Sept. 27, 2023, 7:53 p.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavcodec/jpegxl_parser.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
> index 6656ed35c5..d25a1b6e1d 100644
> --- a/libavcodec/jpegxl_parser.c
> +++ b/libavcodec/jpegxl_parser.c
> @@ -223,11 +223,6 @@ static av_always_inline uint32_t jxl_u32(GetBitContext *gb,
>      return ret;
>  }
>  
> -static av_always_inline uint32_t jxl_enum(GetBitContext *gb)
> -{
> -    return jxl_u32(gb, 0, 1, 2, 18, 0, 0, 4, 6);
> -}
> -
>  /* read a U64() */
>  static uint64_t jxl_u64(GetBitContext *gb)
>  {

Will apply this patch tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
index 6656ed35c5..d25a1b6e1d 100644
--- a/libavcodec/jpegxl_parser.c
+++ b/libavcodec/jpegxl_parser.c
@@ -223,11 +223,6 @@  static av_always_inline uint32_t jxl_u32(GetBitContext *gb,
     return ret;
 }
 
-static av_always_inline uint32_t jxl_enum(GetBitContext *gb)
-{
-    return jxl_u32(gb, 0, 1, 2, 18, 0, 0, 4, 6);
-}
-
 /* read a U64() */
 static uint64_t jxl_u64(GetBitContext *gb)
 {