Mercurial > libavcodec.hg
changeset 2939:04cf75617d00 libavcodec
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*
author | reimar |
---|---|
date | Thu, 10 Nov 2005 18:05:45 +0000 |
parents | 363be7734674 |
children | 8aa244d7c274 |
files | truemotion1.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/truemotion1.c Thu Nov 10 13:54:32 2005 +0000 +++ b/truemotion1.c Thu Nov 10 18:05:45 2005 +0000 @@ -744,7 +744,7 @@ 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();