Mercurial > libavcodec.hg
comparison truemotion1.c @ 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 | ef2149182f1c |
comparison
equal
deleted
inserted
replaced
2938:363be7734674 | 2939:04cf75617d00 |
---|---|
742 /* these variables are for managing the main index stream */ | 742 /* these variables are for managing the main index stream */ |
743 int index_stream_index = 0; /* yes, the index into the index stream */ | 743 int index_stream_index = 0; /* yes, the index into the index stream */ |
744 int index; | 744 int index; |
745 | 745 |
746 /* clean out the line buffer */ | 746 /* clean out the line buffer */ |
747 memset(s->vert_pred, 0, s->avctx->width * sizeof(unsigned short)); | 747 memset(s->vert_pred, 0, s->avctx->width * sizeof(unsigned int)); |
748 | 748 |
749 GET_NEXT_INDEX(); | 749 GET_NEXT_INDEX(); |
750 | 750 |
751 for (y = 0; y < s->avctx->height; y++) { | 751 for (y = 0; y < s->avctx->height; y++) { |
752 | 752 |