summaryrefslogtreecommitdiff
path: root/libavcodec/h264_ps.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-24 19:39:31 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-26 15:30:54 +0100
commitb2421c4f26aca9b31055aff51ee442b220ebf2a7 (patch)
tree97e504c92d30c5256b860222c19fe780aa391eb3 /libavcodec/h264_ps.h
parentc3ff71680805267bc8f3fff86c1cf917f810c0d9 (diff)
avcodec/h264_parse: Move ff_h264_get_profile() to h264_ps.h
It is a more fitting place for it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h264_ps.h')
-rw-r--r--libavcodec/h264_ps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264_ps.h b/libavcodec/h264_ps.h
index 3f1ab72e38..dc52835ed4 100644
--- a/libavcodec/h264_ps.h
+++ b/libavcodec/h264_ps.h
@@ -153,6 +153,11 @@ typedef struct H264ParamSets {
} H264ParamSets;
/**
+ * compute profile from sps
+ */
+int ff_h264_get_profile(const SPS *sps);
+
+/**
* Decode SPS
*/
int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx,