lavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jan 2012 23:22:19 +0000 (00:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jan 2012 23:23:24 +0000 (00:23 +0100)
Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Thu Nov 3 22:38:10 2011 +0100

    lavf: fix null pointer dereference in rdt

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This is no longer needed and causes various problems with RTSP

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 2eba3ba..73f24ef 100644 (file)
@@ -634,9 +634,6 @@ static int init_input(AVFormatContext *s, const char *filename, AVDictionary **o
     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)