aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-06-10 17:02:47 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-06-15 22:31:13 +0200
commit10f68641ae15ed0c1ea819b5970bfe4b166cd77c (patch)
tree8a41b3154b8d7cda96532cfa5dd55e9215580f8d
parentf0a10f6376e1472e2106548bbb11df4279cdf4f1 (diff)
downloadffmpeg-10f68641ae15ed0c1ea819b5970bfe4b166cd77c.tar.gz
avcodec/h264_ps: Move MAX_LOG2_MAX_FRAME_NUM to header so it can be used in h264_sei
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b796c5ae9299c795cba0d16ce1d8eef05488953b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/h264_ps.c1
-rw-r--r--libavcodec/h264_ps.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index 8d1ef831fa..17bfa780ce 100644
--- a/libavcodec/h264_ps.c
+++ b/libavcodec/h264_ps.c
@@ -35,7 +35,6 @@
#include "h264_ps.h"
#include "golomb.h"
-#define MAX_LOG2_MAX_FRAME_NUM (12 + 4)
#define MIN_LOG2_MAX_FRAME_NUM 4
#define EXTENDED_SAR 255
diff --git a/libavcodec/h264_ps.h b/libavcodec/h264_ps.h
index 51b6694b5f..e967b9cbcf 100644
--- a/libavcodec/h264_ps.h
+++ b/libavcodec/h264_ps.h
@@ -36,6 +36,7 @@
#define MAX_SPS_COUNT 32
#define MAX_PPS_COUNT 256
+#define MAX_LOG2_MAX_FRAME_NUM (12 + 4)
/**
* Sequence parameter set