summaryrefslogtreecommitdiff
path: root/libavcodec/cpia.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cpia.c')
-rw-r--r--libavcodec/cpia.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index a29b651867..4f83503e0d 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -100,10 +100,8 @@ static int cpia_decode_frame(AVCodecContext *avctx,
}
// Get buffer filled with previous frame
- if ((ret = ff_reget_buffer(avctx, frame)) < 0) {
- av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed!\n");
+ if ((ret = ff_reget_buffer(avctx, frame)) < 0)
return ret;
- }
for ( i = 0;