cosmetics: remove superfluous curly brackets

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Paul B Mahol
2012-03-22 20:22:39 +00:00
committed by Michael Niedermayer
parent 0e465c1a81
commit ae2c33b0c2
68 changed files with 68 additions and 136 deletions

View File

@ -494,9 +494,8 @@ static int adpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
pkt_size = (2 + avctx->channels * (22 + 4 * (frame->nb_samples - 1)) + 7) / 8;
else
pkt_size = avctx->block_align;
if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size))) {
if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size)))
return ret;
}
dst = avpkt->data;
switch(avctx->codec->id) {