diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2018-11-02 15:33:20 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2018-11-05 12:39:23 -0500 |
commit | d37faad0cdbb5577b6ce72625847cae5bf110db9 (patch) | |
tree | 11319725eb49cd95b4d52dbba3cf6f6b5be8c1f5 /libavcodec/mjpegdec.c | |
parent | aefbb2bf029f3a01cc4198c9470550f7b007e868 (diff) | |
download | ffmpeg-d37faad0cdbb5577b6ce72625847cae5bf110db9.tar.gz |
mjpeg: Use profile names in the encoder and decoder
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index b0cb3ffc83..96c425515a 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -43,6 +43,7 @@ #include "mjpeg.h" #include "mjpegdec.h" #include "jpeglsdec.h" +#include "profiles.h" #include "put_bits.h" #include "tiff.h" #include "exif.h" @@ -2796,6 +2797,7 @@ AVCodec ff_mjpeg_decoder = { .capabilities = AV_CODEC_CAP_DR1, .max_lowres = 3, .priv_class = &mjpegdec_class, + .profiles = NULL_IF_CONFIG_SMALL(ff_mjpeg_profiles), .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM, .hw_configs = (const AVCodecHWConfigInternal*[]) { |