aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-05 00:22:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-05 00:23:24 +0100
commit1171d938af219aa1217a472391bc392f6e698386 (patch)
tree76dc7d9f960680eb592142f9d5c3df43066daec5
parentff7f198d7f9504f71676327be0be47661cfe39d6 (diff)
downloadffmpeg-1171d938af219aa1217a472391bc392f6e698386.tar.gz
lavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9
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>
-rw-r--r--libavformat/utils.c3
1 files changed, 0 insertions, 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)