diff options
-rw-r--r-- | libavcodec/libopenjpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c index 7cf20af809..3a3a127327 100644 --- a/libavcodec/libopenjpeg.c +++ b/libavcodec/libopenjpeg.c @@ -78,9 +78,9 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx, if((AV_RB32(buf) == 12) && (AV_RB32(buf + 4) == JP2_SIG_TYPE) && (AV_RB32(buf + 8) == JP2_SIG_VALUE)) { - dec = opj_create_decompress(CODEC_JP2); + dec = opj_create_decompress(CODEC_JP2); } else { - dec = opj_create_decompress(CODEC_J2K); + dec = opj_create_decompress(CODEC_J2K); } if(!dec) { |