diff options
Diffstat (limited to 'libavcodec/xwddec.c')
-rw-r--r-- | libavcodec/xwddec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/xwddec.c b/libavcodec/xwddec.c index 03f7f40..c47c3eb 100644 --- a/libavcodec/xwddec.c +++ b/libavcodec/xwddec.c @@ -199,10 +199,8 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_PATCHWELCOME; } - if ((ret = ff_get_buffer(avctx, p, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((ret = ff_get_buffer(avctx, p, 0)) < 0) return ret; - } p->key_frame = 1; p->pict_type = AV_PICTURE_TYPE_I; |