summaryrefslogtreecommitdiff
path: root/libavcodec/h264_ps.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-18 09:40:33 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-21 11:13:29 +0200
commitf638b67e5790735f34620bf82025c9b9d6fc7216 (patch)
treead69a1e8304a70e74bc6d57f83cd8c28d7cdae77 /libavcodec/h264_ps.c
parent4e2f6212483ae1b2a4043cddf0a1cb001b476abc (diff)
h264: move the parameter set definitions to a new header file
The PS parsing code is independent from the decoder, so it makes more sense for it to have its own separate header.
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r--libavcodec/h264_ps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index 9b39992c10..46457a89d5 100644
--- a/libavcodec/h264_ps.c
+++ b/libavcodec/h264_ps.c
@@ -31,13 +31,15 @@
#include "internal.h"
#include "mathops.h"
#include "avcodec.h"
-#include "h264dec.h"
#include "h264data.h"
+#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
+
static const AVRational pixel_aspect[17] = {
{ 0, 1 },
{ 1, 1 },