Commit 08826891 authored by Martin Storsjö's avatar Martin Storsjö

rdt: Set AVFMT_NOFILE on ff_rdt_demuxer

This makes rdt work again, which has been broken since
603b8bc2. 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: 's avatarMartin Storsjö <martin@martin.st>
parent ed307e26
...@@ -972,4 +972,5 @@ AVInputFormat ff_rdt_demuxer = { ...@@ -972,4 +972,5 @@ AVInputFormat ff_rdt_demuxer = {
.long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"), .long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"),
.priv_data_size = sizeof(RMDemuxContext), .priv_data_size = sizeof(RMDemuxContext),
.read_close = rm_read_close, .read_close = rm_read_close,
.flags = AVFMT_NOFILE,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment