summaryrefslogtreecommitdiff
path: root/libavcodec/tscc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r--libavcodec/tscc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index ca5b614130..a4233bd897 100644
--- a/libavcodec/tscc.c
+++ b/libavcodec/tscc.c
@@ -110,10 +110,10 @@ static int decode_rle(CamtasiaContext *c, unsigned int srcsize)
for(i = 0; i < p2 * (c->bpp / 8); i++) {
*output++ = *src++;
}
- // RLE8 copy is actually padded - and runs are not!
- if(c->bpp == 8 && (p2 & 1)) {
- src++;
- }
+ // RLE8 copy is actually padded - and runs are not!
+ if(c->bpp == 8 && (p2 & 1)) {
+ src++;
+ }
pos += p2;
} else { //Run of pixels
int pix[4]; //original pixel