From ae2c33b0c28ec9dd2c78538062798f6dace6b20b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 22 Mar 2012 20:22:39 +0000 Subject: cosmetics: remove superfluous curly brackets Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/zmbvenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/zmbvenc.c') diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index 3453d69a82..7723e7255b 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -228,9 +228,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, } pkt_size = c->zstream.total_out + 1 + 6*keyframe; - if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) { + if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) return ret; - } buf = pkt->data; fl = (keyframe ? ZMBV_KEYFRAME : 0) | (chpal ? ZMBV_DELTAPAL : 0); -- cgit v1.2.3