summaryrefslogtreecommitdiffstats
path: root/libavutil/imgutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2013-07-01 23:38:08 +0200
committerLuca Barbato <[email protected]>2013-08-24 11:07:52 +0200
commita747cf8873ee8e4cb229b215fd3356f374488c12 (patch)
tree0edb957e38cd9bfa25f7075cd5ba926fbc9e503d /libavutil/imgutils.c
parent002ca3e099f0d54cefab250baf027a7c006410d8 (diff)
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: [email protected] Signed-off-by: Martin Storsjö <[email protected]> (cherry picked from commit d35b6cd3775456a23b63e73316e244b671caa02f) Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavutil/imgutils.c')
0 files changed, 0 insertions, 0 deletions