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 01:06:11 +0100
commit0f61521f69c13b0fa1d884bf8e850f45469331db (patch)
treebcd249cf4ff688a28e7070bb5950f42076997cd0
parent58afa73338489c0a89ee427ab02e592513fb1c59 (diff)
downloadffmpeg-0f61521f69c13b0fa1d884bf8e850f45469331db.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> (cherry picked from commit 1171d938af219aa1217a472391bc392f6e698386) 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 304e3642fa..fe67d005c7 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -631,9 +631,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)