mov_chan: Pass a separate AVIOContext for reading
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 6 Sep 2012 10:46:37 +0000 (12:46 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 7 Sep 2012 07:49:35 +0000 (10:49 +0300)
commit9afb7061f938831248942050cfdb449e014ed427
tree0320384233a686f37adab9e5fd42dec763082a15
parent91a84a5247857d18b211f45129cf39b6788f0022
mov_chan: Pass a separate AVIOContext for reading

This fixes crashes when called from rtpdec_qt, where
AVFormatContext->pb is null, a crash present since 3bab7cd128.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/cafdec.c
libavformat/mov.c
libavformat/mov_chan.c
libavformat/mov_chan.h