Mercurial > libavcodec.hg
changeset 7865:c7420b070961 libavcodec
cosmetics: fix indentation after r15321
author | jbr |
---|---|
date | Sun, 14 Sep 2008 22:27:47 +0000 |
parents | 4820bd751284 |
children | 4f0e33b1a228 |
files | pnm.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pnm.c Sun Sep 14 22:25:50 2008 +0000 +++ b/pnm.c Sun Sep 14 22:27:47 2008 +0000 @@ -135,9 +135,9 @@ 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;