[FFmpeg-cvslog] r16128 - trunk/libavcodec/indeo3.c
aurel
subversion
Sun Dec 14 17:41:51 CET 2008
Author: aurel
Date: Sun Dec 14 17:41:51 2008
New Revision: 16128
Log:
indeo3: replace sizeof(struct ...) by sizeof(*var)
Modified:
trunk/libavcodec/indeo3.c
Modified: trunk/libavcodec/indeo3.c
==============================================================================
--- trunk/libavcodec/indeo3.c (original)
+++ trunk/libavcodec/indeo3.c Sun Dec 14 17:41:51 2008
@@ -252,14 +252,14 @@ static void iv_Decode_Chunk(Indeo3Decode
if(cmd == 0) {
strip++;
- memcpy(strip, strip-1, sizeof(struct ustr));
+ memcpy(strip, strip-1, sizeof(*strip));
strip->split_flag = 1;
strip->split_direction = 0;
strip->height = (strip->height > 8 ? ((strip->height+8)>>4)<<3 : 4);
continue;
} else if(cmd == 1) {
strip++;
- memcpy(strip, strip-1, sizeof(struct ustr));
+ memcpy(strip, strip-1, sizeof(*strip));
strip->split_flag = 1;
strip->split_direction = 1;
strip->width = (strip->width > 8 ? ((strip->width+8)>>4)<<3 : 4);
More information about the ffmpeg-cvslog
mailing list