Browse code

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>

Martin Storsjö authored on 2011/11/07 07:25:03
Showing 1 changed files
... ...
@@ -972,4 +972,5 @@ AVInputFormat ff_rdt_demuxer = {
972 972
     .long_name      = NULL_IF_CONFIG_SMALL("RDT demuxer"),
973 973
     .priv_data_size = sizeof(RMDemuxContext),
974 974
     .read_close     = rm_read_close,
975
+    .flags          = AVFMT_NOFILE,
975 976
 };