aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_asf.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-07-05 16:46:00 +0000
committerMartin Storsjö <martin@martin.st>2010-07-05 16:46:00 +0000
commit0fca8d24ee00284652eecedaa1f922641cdc59b1 (patch)
treeb339db88b18a94f899fdd85147e8d177e6b0b892 /libavformat/rtpdec_asf.h
parent748db0fcc486417225d4cb45d7d5488a00dcc4e3 (diff)
downloadffmpeg-0fca8d24ee00284652eecedaa1f922641cdc59b1.tar.gz
rtpdec_asf: Propagate errors from the chained av_open_input_stream
This fixes the crash in issue 2070. Originally committed as revision 24059 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec_asf.h')
-rw-r--r--libavformat/rtpdec_asf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_asf.h b/libavformat/rtpdec_asf.h
index 35873bda0c..dbd85dc846 100644
--- a/libavformat/rtpdec_asf.h
+++ b/libavformat/rtpdec_asf.h
@@ -30,7 +30,7 @@
*
* @param s RTSP demux context
*/
-void ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
+int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
/**
* Handlers for the x-asf-pf payloads (the payload ID for RTP/ASF).