diff options
Diffstat (limited to 'libavcodec/pnm.c')
-rw-r--r-- | libavcodec/pnm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index 1defbc20e6..212ec06c21 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -131,8 +131,7 @@ int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s) if (maxval < 256) { avctx->pix_fmt = PIX_FMT_RGB32; } else { - av_log(avctx, AV_LOG_ERROR, "Unsupported bit depth\n"); - return -1; + avctx->pix_fmt = PIX_FMT_RGBA64BE; } } else { return -1; |