From ff4d1aa8bc3f4fe9d1f684f760b29c51adb569ef Mon Sep 17 00:00:00 2001 From: Gabriel Dume Date: Mon, 1 Sep 2014 15:18:59 -0400 Subject: flv: K&R formatting cosmetics Signed-off-by: Diego Biurrun --- libavcodec/flvdec.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'libavcodec/flvdec.c') diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c index 3405058bca..0a6f268579 100644 --- a/libavcodec/flvdec.c +++ b/libavcodec/flvdec.c @@ -1,5 +1,6 @@ /* * FLV decoding. + * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or @@ -17,21 +18,21 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "mpegvideo.h" -#include "h263.h" -#include "flv.h" #include "libavutil/imgutils.h" +#include "flv.h" +#include "h263.h" +#include "mpegvideo.h" + void ff_flv2_decode_ac_esc(GetBitContext *gb, int *level, int *run, int *last) { int is11 = get_bits1(gb); *last = get_bits1(gb); *run = get_bits(gb, 6); - if (is11) { + if (is11) *level = get_sbits(gb, 11); - } else { + else *level = get_sbits(gb, 7); - } } int ff_flv_decode_picture_header(MpegEncContext *s) @@ -128,8 +129,6 @@ AVCodec ff_flv_decoder = { .close = ff_h263_decode_end, .decode = ff_h263_decode_frame, .capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, - .pix_fmts = (const enum AVPixelFormat[]) { - AV_PIX_FMT_YUV420P, - AV_PIX_FMT_NONE - }, + .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, + AV_PIX_FMT_NONE }, }; -- cgit v1.2.3