diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-11-10 18:05:45 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-11-10 18:05:45 +0000 |
commit | a0ed075b29a23f26794755fd051d32e1725658ce (patch) | |
tree | 9d5e0411ea3850194bd192a4520a39c47f1e1309 | |
parent | 4b7e4bedd60af000fd284972cd02f17170de6fb2 (diff) | |
download | ffmpeg-a0ed075b29a23f26794755fd051d32e1725658ce.tar.gz |
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
-rw-r--r-- | libavcodec/truemotion1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index c17ec6e702..b494b2851a 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -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(); |