summaryrefslogtreecommitdiff
path: root/libavcodec/pnmdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-08 00:50:08 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-08 20:04:57 +0200
commit554d3ad73014a7f7986520c002ff61741ddfdb9d (patch)
tree453a2c0148b9e5ca410ec250b9650ffcf25de884 /libavcodec/pnmdec.c
parent4a745b41770893116405c22f832192510f9bcc9b (diff)
downloadffmpeg-554d3ad73014a7f7986520c002ff61741ddfdb9d.tar.gz
pnmdec: reindent after the previous commit
Diffstat (limited to 'libavcodec/pnmdec.c')
-rw-r--r--libavcodec/pnmdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c
index 791bd4f3fe..ebecad4006 100644
--- a/libavcodec/pnmdec.c
+++ b/libavcodec/pnmdec.c
@@ -109,11 +109,11 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data,
/* read a single digit */
v = (*s->bytestream++) - '0';
} else {
- /* read a sequence of digits */
- do{
- v= 10*v + c;
- c= (*s->bytestream++) - '0';
- }while(c <= 9);
+ /* read a sequence of digits */
+ do {
+ v = 10*v + c;
+ c = (*s->bytestream++) - '0';
+ } while (c <= 9);
}
put_bits(&pb, sample_len, (((1<<sample_len)-1)*v + (s->maxval>>1))/s->maxval);
}