diff options
author | Jean First <jeanfirst@gmail.com> | 2015-01-23 21:58:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-24 00:40:08 +0100 |
commit | 1f13348f7d1049fe9be2897d8cd88024db233bda (patch) | |
tree | 8041b105671af728fdf1d8d84f9d2c0fdf60c06b /libavformat/idroqenc.c | |
parent | 76241c911510ae3eaccf92a21e95b82579dc1ec5 (diff) | |
download | ffmpeg-1f13348f7d1049fe9be2897d8cd88024db233bda.tar.gz |
lavc/libopenjpegenc: move opj_setup_encoder to libopenjpeg_encode_frame
if the openjpeg parameter tcp_rates is not 0 ( using the ffmpeg compression_level option )
every 2nd image per thread is badly encoded. By moving the opj_setup_encoder function from
libopenjpeg_encode_init to libopenjpeg_encode_frame this can be prevented.
This fixes ticket #3754.
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/idroqenc.c')
0 files changed, 0 insertions, 0 deletions