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/roqaudioenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/roqaudioenc.c') diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index 6bc072442c..0b1cd21eb0 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -171,9 +171,8 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, else data_size = avctx->channels * avctx->frame_size; - if ((ret = ff_alloc_packet2(avctx, avpkt, ROQ_HEADER_SIZE + data_size))) { + if ((ret = ff_alloc_packet2(avctx, avpkt, ROQ_HEADER_SIZE + data_size))) return ret; - } out = avpkt->data; bytestream_put_byte(&out, stereo ? 0x21 : 0x20); -- cgit v1.2.3