summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.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/rmdec.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/rmdec.c')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index b6b72e6ead..cb0ca31f40 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -349,7 +349,7 @@ int ff_rm_read_mdpr_codecdata(AVFormatContext *s, AVIOContext *pb,
st->codecpar->codec_tag);
} else if(mime && !strcmp(mime, "logical-fileinfo")){
int stream_count, rule_count, property_count, i;
- ff_free_stream(s, st);
+ ff_remove_stream(s, st);
if (avio_rb16(pb) != 0) {
av_log(s, AV_LOG_WARNING, "Unsupported version\n");
goto skip;