diff options
author | Gabriel Dume <gabriel.ddx84@gmail.com> | 2014-09-01 23:18:59 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-02 15:03:45 +0400 |
commit | ff4d1aa8bc3f4fe9d1f684f760b29c51adb569ef (patch) | |
tree | fcfa97314a8b3625eb64843f1853bdfe6f77fdb7 /libavcodec/flvdec.c | |
parent | f61e47dd68582529bcf6d42d861c70a320cd1b67 (diff) |
flv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/flvdec.c')
-rw-r--r-- | libavcodec/flvdec.c | 19 |
1 files changed, 9 insertions, 10 deletions
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 }, }; |