[FFmpeg-cvslog] r15332 - trunk/libavcodec/pnm.c

jbr subversion
Mon Sep 15 00:27:47 CEST 2008


Author: jbr
Date: Mon Sep 15 00:27:47 2008
New Revision: 15332

Log:
cosmetics: fix indentation after r15321

Modified:
   trunk/libavcodec/pnm.c

Modified: trunk/libavcodec/pnm.c
==============================================================================
--- trunk/libavcodec/pnm.c	(original)
+++ trunk/libavcodec/pnm.c	Mon Sep 15 00:27:47 2008
@@ -135,9 +135,9 @@ int ff_pnm_decode_header(AVCodecContext 
         s->maxval = atoi(buf1);
         if (s->maxval >= 256) {
             if (avctx->pix_fmt == PIX_FMT_GRAY8) {
-            avctx->pix_fmt = PIX_FMT_GRAY16BE;
-            if (s->maxval != 65535)
-                avctx->pix_fmt = PIX_FMT_GRAY16;
+                avctx->pix_fmt = PIX_FMT_GRAY16BE;
+                if (s->maxval != 65535)
+                    avctx->pix_fmt = PIX_FMT_GRAY16;
             } else {
                 av_log(avctx, AV_LOG_ERROR, "16-bit components are only supported for grayscale\n");
                 avctx->pix_fmt = PIX_FMT_NONE;




More information about the ffmpeg-cvslog mailing list