git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7694d
)
Don't return 0 if buffer setup failed. That signals the RTSP demuxer that
author
Ronald S. Bultje
<rsbultje@gmail.com>
Tue, 16 Feb 2010 18:19:28 +0000
(18:19 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Tue, 16 Feb 2010 18:19:28 +0000
(18:19 +0000)
the packet was filled in, leading to virtually random behaviour in the
decoder later on. Instead, return a negative value.
Originally committed as revision 21851 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtp_asf.c
patch
|
blob
|
history
diff --git
a/libavformat/rtp_asf.c
b/libavformat/rtp_asf.c
index
d44ff5a
..
2b05b3e
100644
(file)
--- a/
libavformat/rtp_asf.c
+++ b/
libavformat/rtp_asf.c
@@
-197,7
+197,7
@@
static int asfrtp_parse_packet(AVFormatContext *s, PayloadContext *asf,
}
if (!len_off && !asf->pktbuf &&
!(res = url_open_dyn_packet_buf(&asf->pktbuf, rt->asf_ctx->packet_size)))
- return
res
;
+ return
AVERROR(EIO)
;
if (!asf->pktbuf)
return AVERROR(EIO);