diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-06-03 00:19:37 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-06-03 00:20:08 +0000 |
commit | d2021f74ed5e14d2675065550ff95a225c0b60cf (patch) | |
tree | 4f1875d64a795b02872a45bb9e36d32dc510b23f | |
parent | a44d39ae42013538c129012d012a7242af588f69 (diff) | |
download | ffmpeg-d2021f74ed5e14d2675065550ff95a225c0b60cf.tar.gz |
jpeg2000dec: remove redundant error log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index aa67ebe719..0f6314b44c 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -1328,10 +1328,8 @@ static int jpeg2000_decode_frame(AVCodecContext *avctx, void *data, goto end; /* get picture buffer */ - if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "ff_thread_get_buffer() failed.\n"); + if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0) goto end; - } picture->pict_type = AV_PICTURE_TYPE_I; picture->key_frame = 1; |