summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
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.h
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.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 650371f803..6a9b496bea 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -24,6 +24,8 @@
#ifndef AVCODEC_H264_H
#define AVCODEC_H264_H
+#define QP_MAX_NUM (51 + 2 * 6) // The maximum supported qp
+
/* NAL unit types */
enum {
NAL_SLICE = 1,