Commit 554d3ad7 authored by Stefano Sabatini's avatar Stefano Sabatini

pnmdec: reindent after the previous commit

parent 4a745b41
...@@ -109,11 +109,11 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data, ...@@ -109,11 +109,11 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data,
/* read a single digit */ /* read a single digit */
v = (*s->bytestream++) - '0'; v = (*s->bytestream++) - '0';
} else { } else {
/* read a sequence of digits */ /* read a sequence of digits */
do{ do {
v= 10*v + c; v = 10*v + c;
c= (*s->bytestream++) - '0'; c = (*s->bytestream++) - '0';
}while(c <= 9); } while (c <= 9);
} }
put_bits(&pb, sample_len, (((1<<sample_len)-1)*v + (s->maxval>>1))/s->maxval); put_bits(&pb, sample_len, (((1<<sample_len)-1)*v + (s->maxval>>1))/s->maxval);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment