diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-10 17:02:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:47 +0200 |
commit | 35cd7417f9ffcad57783cd479a6e6cc4543cb929 (patch) | |
tree | e0570ce0cde498e4921049aca5f87cb678cd353a | |
parent | 7281cf7195e3ff8adfb2dea0657d61306cf91726 (diff) | |
download | ffmpeg-35cd7417f9ffcad57783cd479a6e6cc4543cb929.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.c | 1 | ||||
-rw-r--r-- | libavcodec/h264_ps.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 41e63c74c1..5f4a861e7f 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 9b9e295c83..cc5f0c957b 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 |