[SCM] libav/experimental: 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*
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:45:25 UTC 2013
The following commit has been merged in the experimental branch:
commit a0ed075b29a23f26794755fd051d32e1725658ce
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Thu Nov 10 18:05:45 2005 +0000
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
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index c17ec6e..b494b28 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();
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list