diff mbox series

[FFmpeg-devel,28/28] avcodec/diracdec: Don't use EDGE_WIDTH from mpegpicture.h

Message ID GV1P250MB07378389E3B93DE67CBB47668F1C2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Headers show
Series [FFmpeg-devel,1/9] configure: Add missing dirac_decoder->qpeldsp dependency | expand


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

Commit Message

Andreas Rheinhardt May 6, 2024, 9:52 p.m. UTC
There is nothing that forces us to use the same value
as mpegvideo_enc.c, so define our own constant.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
 libavcodec/diracdec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index f0df74e131..df52e56098 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -38,13 +38,14 @@ 
 #include "golomb.h"
 #include "dirac_arith.h"
 #include "dirac_vlc.h"
-#include "mpegpicture.h"
 #include "dirac_dwt.h"
 #include "dirac.h"
 #include "diractab.h"
 #include "diracdsp.h"
 #include "videodsp.h"
+#define EDGE_WIDTH 16
  * The spec limits this to 3 for frame coding, but in practice can be as high as 6