summaryrefslogtreecommitdiff
path: root/libavformat/demux.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-06 21:09:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-10 07:43:25 +0200
commit7803825cfc580be42dcc280582bd6b2a87d83fb4 (patch)
tree2fbce0173170c1d81cb04bed4c057a0d7823c617 /libavformat/demux.h
parent0b0dfb765da6cf796d3798e808da741cc697c4fa (diff)
downloadffmpeg-7803825cfc580be42dcc280582bd6b2a87d83fb4.tar.gz
avformat/utils: Move ff_generate_avci_extradata to demux_utils.c
Only used by demuxers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/demux.h')
-rw-r--r--libavformat/demux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/demux.h b/libavformat/demux.h
index 03f7c22bdd..64adaff07d 100644
--- a/libavformat/demux.h
+++ b/libavformat/demux.h
@@ -211,4 +211,10 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels,
uint64_t channel_layout, int32_t sample_rate,
int32_t width, int32_t height);
+/**
+ * Generate standard extradata for AVC-Intra based on width/height and field
+ * order.
+ */
+int ff_generate_avci_extradata(AVStream *st);
+
#endif /* AVFORMAT_DEMUX_H */