Mercurial > libavformat.hg
changeset 5172:06b0c8fd923f libavformat
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.
author | reimar |
---|---|
date | Sun, 13 Sep 2009 11:08:59 +0000 |
parents | 44e53fe2e9ca |
children | 948db02fab55 |
files | rmdec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff