Mercurial > libavcodec.hg
changeset 8314:e983153e2d72 libavcodec
Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
author | diego |
---|---|
date | Sat, 13 Dec 2008 13:34:59 +0000 |
parents | 2eaafc02cd3d |
children | 7ccdcc976edd |
files | indeo3.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/indeo3.c Sat Dec 13 12:56:29 2008 +0000 +++ b/indeo3.c Sat Dec 13 13:34:59 2008 +0000 @@ -147,7 +147,7 @@ av_free(s->corrector_type); } -typedef struct { +struct ustr { long xpos; long ypos; long width; @@ -155,7 +155,7 @@ long split_flag; long split_direction; long usl7; -} ustr_t; +}; #define LV1_CHECK(buf1,rle_v3,lv1,lp2) \ @@ -213,7 +213,7 @@ uint32_t *cur_lp, *ref_lp; const uint32_t *correction_lp[2], *correctionloworder_lp[2], *correctionhighorder_lp[2]; uint8_t *correction_type_sp[2]; - ustr_t strip_tbl[20], *strip; + struct ustr strip_tbl[20], *strip; int i, j, k, lp1, lp2, flag1, cmd, blks_width, blks_height, region_160_width, rle_v1, rle_v2, rle_v3; unsigned short res; @@ -252,14 +252,14 @@ if(cmd == 0) { strip++; - memcpy(strip, strip-1, sizeof(ustr_t)); + memcpy(strip, strip-1, sizeof(struct ustr)); 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(ustr_t)); + memcpy(strip, strip-1, sizeof(struct ustr)); strip->split_flag = 1; strip->split_direction = 1; strip->width = (strip->width > 8 ? ((strip->width+8)>>4)<<3 : 4);