summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parse.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-29 04:19:50 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:24 +0200
commit72da8d9bb24d1b1bf74c2f1108650c0da0054d2e (patch)
tree2b243809f09e89bbd60dfed84176778d7f66ba36 /libavcodec/h264_parse.h
parent98c97994c5b90bdae02accb155eeceeb5224b8ef (diff)
h264_parser: remove the remaining dependencies on the h264 decoder
Diffstat (limited to 'libavcodec/h264_parse.h')
-rw-r--r--libavcodec/h264_parse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264_parse.h b/libavcodec/h264_parse.h
index 617ee4e940..e956790a79 100644
--- a/libavcodec/h264_parse.h
+++ b/libavcodec/h264_parse.h
@@ -87,4 +87,9 @@ int ff_h264_decode_extradata(const uint8_t *data, int size, struct H264ParamSets
int *is_avc, int *nal_length_size,
int err_recognition, void *logctx);
+/**
+ * compute profile from sps
+ */
+int ff_h264_get_profile(const struct SPS *sps);
+
#endif /* AVCODEC_H264_PARSE_H */