diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-01 23:38:08 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-07-07 13:30:12 +0300 |
commit | d35b6cd3775456a23b63e73316e244b671caa02f (patch) | |
tree | 43c652e22e6a5a02e67f35a8d9a5b3906746bac9 /libavcodec/faxcompr.h | |
parent | 5d876be87a115b93dd2e644049e3ada2cfb5ccb7 (diff) | |
download | ffmpeg-d35b6cd3775456a23b63e73316e244b671caa02f.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>
Diffstat (limited to 'libavcodec/faxcompr.h')
0 files changed, 0 insertions, 0 deletions