Commit 0ec3386c authored by aurel's avatar aurel

indeo3: replace sizeof(struct ...) by sizeof(*var)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16128 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f483be3c
...@@ -252,14 +252,14 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s, ...@@ -252,14 +252,14 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s,
if(cmd == 0) { if(cmd == 0) {
strip++; strip++;
memcpy(strip, strip-1, sizeof(struct ustr)); memcpy(strip, strip-1, sizeof(*strip));
strip->split_flag = 1; strip->split_flag = 1;
strip->split_direction = 0; strip->split_direction = 0;
strip->height = (strip->height > 8 ? ((strip->height+8)>>4)<<3 : 4); strip->height = (strip->height > 8 ? ((strip->height+8)>>4)<<3 : 4);
continue; continue;
} else if(cmd == 1) { } else if(cmd == 1) {
strip++; strip++;
memcpy(strip, strip-1, sizeof(struct ustr)); memcpy(strip, strip-1, sizeof(*strip));
strip->split_flag = 1; strip->split_flag = 1;
strip->split_direction = 1; strip->split_direction = 1;
strip->width = (strip->width > 8 ? ((strip->width+8)>>4)<<3 : 4); strip->width = (strip->width > 8 ? ((strip->width+8)>>4)<<3 : 4);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment