Commit d2021f74 authored by Paul B Mahol's avatar Paul B Mahol

jpeg2000dec: remove redundant error log message

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a44d39ae
...@@ -1328,10 +1328,8 @@ static int jpeg2000_decode_frame(AVCodecContext *avctx, void *data, ...@@ -1328,10 +1328,8 @@ static int jpeg2000_decode_frame(AVCodecContext *avctx, void *data,
goto end; goto end;
/* get picture buffer */ /* get picture buffer */
if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0) { if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)
av_log(avctx, AV_LOG_ERROR, "ff_thread_get_buffer() failed.\n");
goto end; goto end;
}
picture->pict_type = AV_PICTURE_TYPE_I; picture->pict_type = AV_PICTURE_TYPE_I;
picture->key_frame = 1; picture->key_frame = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment