aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/indeo3.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-12-14 16:41:51 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-12-14 16:41:51 +0000
commit1238fa9fb875eeb3381828efb9ce28f588e811d3 (patch)
treeaf888ba7d9f447ff193f3107232f934480ff9007 /libavcodec/indeo3.c
parent25983dcd532333336ea469c6a2a56f06abdbe66c (diff)
downloadffmpeg-1238fa9fb875eeb3381828efb9ce28f588e811d3.tar.gz
indeo3: replace sizeof(struct ...) by sizeof(*var)
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r--libavcodec/indeo3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 36c21c4398..eea27f927c 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -252,14 +252,14 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s,
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);