From 1171d938af219aa1217a472391bc392f6e698386 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 5 Jan 2012 00:22:19 +0100 Subject: [PATCH] lavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9 Author: Michael Niedermayer Date: Thu Nov 3 22:38:10 2011 +0100 lavf: fix null pointer dereference in rdt Signed-off-by: Michael Niedermayer This is no longer needed and causes various problems with RTSP Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 2eba3bafc1..73f24eff8f 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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)