aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-04 16:14:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:20:27 +0200
commit1c40a179222f638e88c8e7b1a374753a00b0f979 (patch)
treee67de66ce2f3459f83a187af33ee9c1d64709e48 /libavcodec/mpegvideo.h
parentec1eba792aed90df5e151cb3c68e67d3d9730834 (diff)
downloadffmpeg-1c40a179222f638e88c8e7b1a374753a00b0f979.tar.gz
avcodec/mpegpicture: Reduce value of MAX_PLANES define
No mpegvideo based codec supports alpha. While just at it, also make the define shorter. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e2953a3198..62550027a7 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -256,7 +256,7 @@ typedef struct MpegEncContext {
uint8_t *mb_mean; ///< Table for MB luminance
int64_t mb_var_sum; ///< sum of MB variance for current frame
int64_t mc_mb_var_sum; ///< motion compensated MB variance for current frame
- uint64_t encoding_error[MPEGVIDEO_MAX_PLANES];
+ uint64_t encoding_error[MPV_MAX_PLANES];
int motion_est; ///< ME algorithm
int me_penalty_compensation;