100l, av_read_packet must check for read_packet error, in case of
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 23 Dec 2007 13:16:55 +0000 (13:16 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 23 Dec 2007 13:16:55 +0000 (13:16 +0000)
commit88b00723906f68b7563214c30333e48888dddf78
tree9fc1e2f1891a7c76783c0ce7b39c23791450eb3d
parent08571377e6b3fc09dc139391f3e96a0688d1a07d
100l, av_read_packet must check for read_packet error, in case of
error pkt->stream_index could be invalid and must not be used.
Fixes a crash with http://www.cs.berkeley.edu/~dmolnar/2-snippet3.wav

Originally committed as revision 11307 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c