mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lavf: fix null pointer dereference in rdt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b3f4ff2876
commit
bb99ae3ae9
@ -607,6 +607,9 @@ static int init_input(AVFormatContext *s, const char *filename)
|
||||
int ret;
|
||||
AVProbeData pd = {filename, NULL, 0};
|
||||
|
||||
if(s->iformat && !strlen(filename))
|
||||
return 0;
|
||||
|
||||
if (s->pb) {
|
||||
s->flags |= AVFMT_FLAG_CUSTOM_IO;
|
||||
if (!s->iformat)
|
||||
|
Loading…
x
Reference in New Issue
Block a user