aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-07 00:25:03 +0200
committerMartin Storsjö <martin@martin.st>2011-11-07 11:24:10 +0200
commit088268911621fb27e2ab78280fca253b11efe3a2 (patch)
tree28241ed510bc4faae7c5feec4d4683e6d5b4682d /libavformat/rmdec.c
parented307e2659f2db81a434afece905383fdceb9b6e (diff)
downloadffmpeg-088268911621fb27e2ab78280fca253b11efe3a2.tar.gz
rdt: Set AVFMT_NOFILE on ff_rdt_demuxer
This makes rdt work again, which has been broken since 603b8bc2a109978c8499b06d2556f1433306eca7. This commit made opening a demuxer without a file (or in this case, with a filename which can't be opened) fail, unless the demuxer actually declared AVFMT_NOFILE. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 7eaecf0469..e3b3e5ac32 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -972,4 +972,5 @@ AVInputFormat ff_rdt_demuxer = {
.long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"),
.priv_data_size = sizeof(RMDemuxContext),
.read_close = rm_read_close,
+ .flags = AVFMT_NOFILE,
};