jpeg2000dec: remove redundant error log message
authorPaul B Mahol <onemda@gmail.com>
Mon, 3 Jun 2013 00:19:37 +0000 (00:19 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 3 Jun 2013 00:20:08 +0000 (00:20 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/jpeg2000dec.c

index aa67ebe71941eed6969f568e0eeb51e6ed56a842..0f6314b44c568fea774c471c5832855d0aeb12c8 100644 (file)
@@ -1328,10 +1328,8 @@ static int jpeg2000_decode_frame(AVCodecContext *avctx, void *data,
         goto end;
 
     /* get picture buffer */
         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;
         goto end;
-    }
     picture->pict_type = AV_PICTURE_TYPE_I;
     picture->key_frame = 1;
 
     picture->pict_type = AV_PICTURE_TYPE_I;
     picture->key_frame = 1;