summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-06 15:23:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-10 07:28:54 +0200
commitb9f6d416ecbed36fbe1b819d1099f71ba2936ddd (patch)
treee59b719db78da0b35b89bf9d61f9b95a0b38c1f3 /libavformat/avidec.c
parent7547f135485623e00844d2ad40debb5b048e6b5d (diff)
avformat/utils: Move stream_options, avformat_new_stream to options.c
This is the appropriate place given that AVStream is about to become an AVOpt-enabled struct. Also move av_disposition_(to|from)_string, as these are tied to the disposition stream option. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 3c749aec14..21fc2b87ff 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -621,7 +621,7 @@ static int avi_read_header(AVFormatContext *s)
ast = s->streams[0]->priv_data;
st->priv_data = NULL;
- ff_free_stream(s, st);
+ ff_remove_stream(s, st);
avi->dv_demux = avpriv_dv_init_demux(s);
if (!avi->dv_demux) {