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/mjpegenc.c | |
parent | aefbb2bf029f3a01cc4198c9470550f7b007e868 (diff) | |
download | ffmpeg-streaming-d37faad0cdbb5577b6ce72625847cae5bf110db9.zip ffmpeg-streaming-d37faad0cdbb5577b6ce72625847cae5bf110db9.tar.gz |
mjpeg: Use profile names in the encoder and decoder
Diffstat (limited to 'libavcodec/mjpegenc.c')
-rw-r--r-- | libavcodec/mjpegenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index d2fcb8e..0ea7bd3 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -38,6 +38,7 @@ #include "mpegvideo.h" #include "mjpeg.h" #include "mjpegenc.h" +#include "profiles.h" static int alloc_huffman(MpegEncContext *s) { @@ -418,6 +419,7 @@ AVCodec ff_mjpeg_encoder = { AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_NONE }, .priv_class = &mjpeg_class, + .profiles = NULL_IF_CONFIG_SMALL(ff_mjpeg_profiles), }; #endif |