[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec truemotion1.c,1.11,1.12
Reimar Döffinger CVS
reimar
Thu Nov 10 19:05:47 CET 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv27098
Modified Files:
truemotion1.c
Log Message:
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*
Index: truemotion1.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/truemotion1.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- truemotion1.c 10 Nov 2005 13:54:32 -0000 1.11
+++ truemotion1.c 10 Nov 2005 18:05:45 -0000 1.12
@@ -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();
More information about the ffmpeg-cvslog
mailing list