[FFmpeg-cvslog] rdt: Set AVFMT_NOFILE on ff_rdt_demuxer
Martin Storsjö
git at videolan.org
Tue Nov 8 02:22:01 CET 2011
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Nov 7 00:25:03 2011 +0200| [088268911621fb27e2ab78280fca253b11efe3a2] | committer: Martin Storsjö
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 at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=088268911621fb27e2ab78280fca253b11efe3a2
---
libavformat/rmdec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 7eaecf0..e3b3e5a 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,
};
More information about the ffmpeg-cvslog
mailing list