diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-01 23:38:08 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-08-24 11:07:52 +0200 |
commit | a747cf8873ee8e4cb229b215fd3356f374488c12 (patch) | |
tree | 0edb957e38cd9bfa25f7075cd5ba926fbc9e503d /libavcodec/rv30.c | |
parent | 002ca3e099f0d54cefab250baf027a7c006410d8 (diff) | |
download | ffmpeg-a747cf8873ee8e4cb229b215fd3356f374488c12.tar.gz |
rmdec: Use the AVIOContext given as parameter in rm_read_metadata()
This fixes crashes when playing back certain RealRTSP streams.
When invoked from the RTP depacketizer, the full realmedia
demuxer isn't invoked, but only certain functions from it, where
a separate AVIOContext is passed in as parameter (for the buffer
containing the data to parse). The functions called from within
those entry points should only be using that parameter, not
s->pb. In the depacketizer case, s is the RTSP context, where ->pb
is null.
Cc: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit d35b6cd3775456a23b63e73316e244b671caa02f)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/rv30.c')
0 files changed, 0 insertions, 0 deletions