Reindent after the last patch.

Originally committed as revision 18292 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Stefano Sabatini 16 years ago
parent c95dd8d382
commit 59b053508f
  1. 20
      libavcodec/pixdesc.h

@ -118,17 +118,17 @@ static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int li
*dst++= val; *dst++= val;
} }
} else { } else {
const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1; const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1;
while(w--){ while(w--){
int val; int val;
if(flags & PIX_FMT_BE) val= AV_RB16(p); if(flags & PIX_FMT_BE) val= AV_RB16(p);
else val= AV_RL16(p); else val= AV_RL16(p);
val = (val>>shift) & mask; val = (val>>shift) & mask;
if(flags & PIX_FMT_PAL) if(flags & PIX_FMT_PAL)
val= data[1][4*val + c]; val= data[1][4*val + c];
p+= step; p+= step;
*dst++= val; *dst++= val;
} }
} }
} }

Loading…
Cancel
Save