]> git.sesse.net Git - ffmpeg/commit
avcodec/mjpegenc: Remove dependency of AMV encoder on mjpegenc_huffman
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 30 Mar 2021 22:21:20 +0000 (00:21 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sat, 10 Apr 2021 01:45:18 +0000 (03:45 +0200)
commitd0dcfaef517105cf5f43f686bf2827c412c351ab
tree2d17a20a46f2b329af0c276b39cdbc4e799c7eb5
parentb3a38eaff492a64370092e6ff7d780199cebc68b
avcodec/mjpegenc: Remove dependency of AMV encoder on mjpegenc_huffman

Using optimal Huffman tables is not supported for AMV and always
disabled by ff_mpv_encode_init(); therefore one can build
the AMV encoder without mjpegenc_huffman if one adds the necessary
compile-time checks.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/Makefile
libavcodec/mjpegenc.c