aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-01 23:38:08 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-09-13 15:26:39 +0200
commitfe8b5a37d5856769e91c159b83c19578ad316f61 (patch)
treec9d548647bff254a515fa3f3da0a71528392d033 /cmdutils.c
parent42ad4178fd2dfa38a9a713419641c2ff41a85e98 (diff)
downloadffmpeg-fe8b5a37d5856769e91c159b83c19578ad316f61.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 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions