mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
@@ -109,6 +109,7 @@ int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s)
|
||||
|
||||
avctx->width = w;
|
||||
avctx->height = h;
|
||||
s->maxval = maxval;
|
||||
if (depth == 1) {
|
||||
if (maxval == 1)
|
||||
avctx->pix_fmt = PIX_FMT_MONOWHITE;
|
||||
|
||||
Reference in New Issue
Block a user