aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/beosthread.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-13 11:08:59 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-13 11:08:59 +0000
commitcbb5da57cdaf547e47253beef31ddf38d181252a (patch)
tree3204a946fb327ed166e20c5455f9d3a01d73a8fe /libavcodec/beosthread.c
parentdbe0ad85c1722b67fc681fcf084b8f7afdd15adf (diff)
downloadffmpeg-cbb5da57cdaf547e47253beef31ddf38d181252a.tar.gz
When resetting vst->pkt.data to NULL, also set vst->slices.
This avoids a crash when the next slice is not a start slice and thus pkt->data is still NULL. This probably only happens with broken or unsupported files like http://samples.mplayerhq.hu/real/multirate/JustaSpa1937_64kb.rm that need further fixes, but keeping vst state consistent is still a good idea. Originally committed as revision 19830 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/beosthread.c')
0 files changed, 0 insertions, 0 deletions