aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/sndio_common.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-01 23:38:08 +0200
committerMartin Storsjö <martin@martin.st>2013-07-07 13:30:12 +0300
commitd35b6cd3775456a23b63e73316e244b671caa02f (patch)
tree43c652e22e6a5a02e67f35a8d9a5b3906746bac9 /libavdevice/sndio_common.h
parent5d876be87a115b93dd2e644049e3ada2cfb5ccb7 (diff)
downloadffmpeg-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 'libavdevice/sndio_common.h')
0 files changed, 0 insertions, 0 deletions