diff mbox series

[FFmpeg-devel,06/39] avcodec/speedhq: Remove cast

Message ID 20201210111657.2276739-7-andreas.rheinhardt@gmail.com
State Accepted
Commit 2b04405b63ef6885f4c8a1898b51577152a151c8
Headers show
Series Make mpegvideo encoders init-threadsafe | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Dec. 10, 2020, 11:16 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/speedhq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Khirnov Dec. 30, 2020, 5:57 p.m. UTC | #1
Quoting Andreas Rheinhardt (2020-12-10 12:16:24)
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/speedhq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Looks good
diff mbox series

Patch

diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c
index 748e8617f6..0c08894315 100644
--- a/libavcodec/speedhq.c
+++ b/libavcodec/speedhq.c
@@ -135,7 +135,7 @@  static const uint8_t speedhq_run[121] = {
 RLTable ff_rl_speedhq = {
     121,
     121,
-    (const uint16_t (*)[])speedhq_vlc,
+    speedhq_vlc,
     speedhq_run,
     speedhq_level,
 };