Message ID | 1320618479-75827-3-git-send-email-martin@martin.st |
---|---|
State | Committed |
Commit | 088268911621fb27e2ab78280fca253b11efe3a2 |
Headers | show |
Hi, On Sun, Nov 6, 2011 at 2:27 PM, Martin Storsjö <martin@martin.st> wrote: > 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. > --- > 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, > }; OK. Ronald
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, };