You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
pnmdec: remove useless .pix_fmts
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
This commit is contained in:
committed by
Justin Ruggles
parent
e00959a9b1
commit
0996f406c4
@@ -197,7 +197,6 @@ AVCodec ff_pgm_decoder = {
|
|||||||
.close = ff_pnm_end,
|
.close = ff_pnm_end,
|
||||||
.decode = pnm_decode_frame,
|
.decode = pnm_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE},
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@@ -212,7 +211,6 @@ AVCodec ff_pgmyuv_decoder = {
|
|||||||
.close = ff_pnm_end,
|
.close = ff_pnm_end,
|
||||||
.decode = pnm_decode_frame,
|
.decode = pnm_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@@ -227,7 +225,6 @@ AVCodec ff_ppm_decoder = {
|
|||||||
.close = ff_pnm_end,
|
.close = ff_pnm_end,
|
||||||
.decode = pnm_decode_frame,
|
.decode = pnm_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE},
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@@ -242,7 +239,6 @@ AVCodec ff_pbm_decoder = {
|
|||||||
.close = ff_pnm_end,
|
.close = ff_pnm_end,
|
||||||
.decode = pnm_decode_frame,
|
.decode = pnm_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE},
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@@ -257,7 +253,6 @@ AVCodec ff_pam_decoder = {
|
|||||||
.close = ff_pnm_end,
|
.close = ff_pnm_end,
|
||||||
.decode = pnm_decode_frame,
|
.decode = pnm_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE},
|
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user