aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-31 22:53:48 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-31 22:53:48 +0000
commit59b053508f5114b31f05cfdc22e72eb7611fd824 (patch)
tree74f320e625b644590a3c95fa05dc3ced450a65ee /libavcodec
parentc95dd8d38256a57bc54ede07baa86cfdf50b0c4a (diff)
downloadffmpeg-59b053508f5114b31f05cfdc22e72eb7611fd824.tar.gz
Reindent after the last patch.
Originally committed as revision 18292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pixdesc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/pixdesc.h b/libavcodec/pixdesc.h
index 6ff07fb342..bc0c5559c6 100644
--- a/libavcodec/pixdesc.h
+++ b/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;
}
} 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--){
- int val;
- if(flags & PIX_FMT_BE) val= AV_RB16(p);
- else val= AV_RL16(p);
- val = (val>>shift) & mask;
- if(flags & PIX_FMT_PAL)
- val= data[1][4*val + c];
+ while(w--){
+ int val;
+ if(flags & PIX_FMT_BE) val= AV_RB16(p);
+ else val= AV_RL16(p);
+ val = (val>>shift) & mask;
+ if(flags & PIX_FMT_PAL)
+ val= data[1][4*val + c];
p+= step;
- *dst++= val;
- }
+ *dst++= val;
+ }
}
}