From 70843bd9027a24c0bcbcfcf4efd9aba7550d3992 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 3 Mar 2025 21:01:31 +0100 Subject: [PATCH 11/40] avcodec/mpegutils: Move MAX_FCODE to mpegvideoenc.h Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegutils.h | 1 - libavcodec/mpegvideoenc.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h index e4ce26d299..9967762a79 100644 --- a/libavcodec/mpegutils.h +++ b/libavcodec/mpegutils.h @@ -33,7 +33,6 @@ #define PICT_FRAME 3 #define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120) -#define MAX_FCODE 7 /* MB types */ #define MB_TYPE_INTRA4x4 (1 << 0) diff --git a/libavcodec/mpegvideoenc.h b/libavcodec/mpegvideoenc.h index f5044a0309..2d7f76c57a 100644 --- a/libavcodec/mpegvideoenc.h +++ b/libavcodec/mpegvideoenc.h @@ -33,6 +33,7 @@ #include "libavutil/opt.h" #include "mpegvideo.h" +#define MAX_FCODE 7 #define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level)) #define INPLACE_OFFSET 16 -- 2.45.2