summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-07 19:23:21 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-07 19:23:21 +0100
commit19b945dc2aa89c27e1b4e18c7bfbf119b944ed4f (patch)
tree34b088394759f0ba592c04bdec3fcc71cf69ef75 /libavcodec/pnm.c
parentee884c30233856b69fb87345944b4cdfe666fc0f (diff)
Cosmetics: Fix indentation.
Found by: Alexander Strasser
Diffstat (limited to 'libavcodec/pnm.c')
-rw-r--r--libavcodec/pnm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c
index ac451ca5ed..fa43c8d6e9 100644
--- a/libavcodec/pnm.c
+++ b/libavcodec/pnm.c
@@ -113,9 +113,9 @@ int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s)
if (depth == 1) {
if (maxval == 1) {
avctx->pix_fmt = PIX_FMT_MONOWHITE;
- } else if (maxval == 255) {
+ } else if (maxval == 255) {
avctx->pix_fmt = PIX_FMT_GRAY8;
- } else {
+ } else {
avctx->pix_fmt = PIX_FMT_GRAY16BE;
}
} else if (depth == 3) {