diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-21 16:12:04 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-21 16:12:04 +0000 |
commit | a36f19e94210fa0732f7eea6f38aae7306670520 (patch) | |
tree | 59c417019eb43c6c1efa633e0888505cebb95645 | |
parent | 881e0de6407639774e10e02ac06ccdccd4886cd6 (diff) | |
download | ffmpeg-streaming-a36f19e94210fa0732f7eea6f38aae7306670520.zip ffmpeg-streaming-a36f19e94210fa0732f7eea6f38aae7306670520.tar.gz |
libopenjpegdec: set cp_reduce value only once
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/libopenjpegdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index fe4d865..e7a7d8d 100644 --- a/libavcodec/libopenjpegdec.c +++ b/libavcodec/libopenjpegdec.c @@ -258,7 +258,6 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx, } opj_set_event_mgr((opj_common_ptr)dec, NULL, NULL); ctx->dec_params.cp_limit_decoding = LIMIT_TO_MAIN_HEADER; - ctx->dec_params.cp_reduce = avctx->lowres; ctx->dec_params.cp_layer = ctx->lowqual; // Tie decoder with decoding parameters opj_setup_decoder(dec, &ctx->dec_params); |