[FFmpeg-cvslog] avcodec/mpegutils: Move MAX_FCODE to mpegvideoenc.h
Andreas Rheinhardt
git at videolan.org
Fri Mar 7 16:21:26 EET 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar 3 21:01:31 2025 +0100| [3977abc89fa2e7c1be797bf03402eeb082e74085] | committer: Andreas Rheinhardt
avcodec/mpegutils: Move MAX_FCODE to mpegvideoenc.h
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3977abc89fa2e7c1be797bf03402eeb082e74085
---
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
More information about the ffmpeg-cvslog
mailing list