[FFmpeg-cvslog] pnmdec: reindent after the previous commit

Stefano Sabatini git at videolan.org
Sun May 8 20:10:31 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sun May  8 00:50:08 2011 +0200| [554d3ad73014a7f7986520c002ff61741ddfdb9d] | committer: Stefano Sabatini

pnmdec: reindent after the previous commit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=554d3ad73014a7f7986520c002ff61741ddfdb9d
---

 libavcodec/pnmdec.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c
index 791bd4f..ebecad4 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);
                 }



More information about the ffmpeg-cvslog mailing list