Michael Niedermayer fe8b5a37d5 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 d35b6cd377)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-13 15:26:39 +02:00
2012-03-08 22:07:55 +01:00
2012-01-21 12:04:02 +02:00
2013-01-03 15:20:12 +01:00
2012-02-26 10:03:16 +01:00
2013-07-07 21:11:35 +02:00
2013-03-09 18:54:27 +01:00
2013-01-03 15:30:45 +01:00
2013-03-19 08:41:24 +01:00
2012-01-19 00:19:43 +01:00
2013-01-03 15:30:45 +01:00
2013-01-03 15:30:45 +01:00
2013-06-22 08:53:39 +02:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
S
Description
No description provided
Readme 299 MiB
Languages
C 89.1%
Assembly 8.4%
Makefile 1.4%
GLSL 0.3%
C++ 0.3%
Other 0.2%