mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 14:22:12 +00:00
clear the whole vert_pred buffer for 24 bit decoding.
This is currently not needed since the decoder creates only half of the pixels, but should reduce confusion for people fiddling with it *g* Originally committed as revision 4687 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4b7e4bedd6
commit
a0ed075b29
@ -744,7 +744,7 @@ static void truemotion1_decode_24bit(TrueMotion1Context *s)
|
||||
int index;
|
||||
|
||||
/* clean out the line buffer */
|
||||
memset(s->vert_pred, 0, s->avctx->width * sizeof(unsigned short));
|
||||
memset(s->vert_pred, 0, s->avctx->width * sizeof(unsigned int));
|
||||
|
||||
GET_NEXT_INDEX();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user