aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-09-26 12:13:53 +0200
committerAnton Khirnov <anton@khirnov.net>2013-11-14 18:59:39 +0100
commitecf442a58b09bdb1dc1d2c3904b82ac5f79b2878 (patch)
treeb82cc9d1c164106eac10095d6c92994811787f1a /libavformat/internal.h
parent951d819006730145255333749367c4ea722ffd9b (diff)
downloadffmpeg-ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878.tar.gz
lavf: improve support for AVC-Intra files.
Generate extradata with SPS/PPS based on container dimensions. Authors of this commit are: Reimar and Thomas Mundt Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 1bc3e51761..e92f476f50 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -339,4 +339,10 @@ enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag);
*/
enum AVCodecID ff_get_pcm_codec_id(int bps, int flt, int be, int sflags);
+/**
+ * Generate standard extradata for AVC-Intra based on width/height and field
+ * order.
+ */
+int ff_generate_avci_extradata(AVStream *st);
+
#endif /* AVFORMAT_INTERNAL_H */