summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-05-06 21:31:36 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-05-06 21:55:14 +0200
commit905e1e4b521bd941c038e0d8fc32175a178dc21c (patch)
tree734ee517eaa4274a21367f3d393579324649aecf /libavcodec
parent8b8fa09b654e5b5fc9beb59fc3ca348a31adf03d (diff)
Cosmetics: Fix indentation and add braces after last commit.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 9e45cdfcbc..bce0b452e1 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -6007,14 +6007,14 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
s->me.qpel_avg = s->dsp.avg_qpel_pixels_tab;
if ((CONFIG_VC1_VDPAU_DECODER)
- &&s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU)
+ &&s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) {
if (v->field_mode && buf_start_second_field) {
ff_vdpau_vc1_decode_picture(s, buf_start, buf_start_second_field - buf_start);
ff_vdpau_vc1_decode_picture(s, buf_start_second_field, (buf + buf_size) - buf_start_second_field);
} else {
- ff_vdpau_vc1_decode_picture(s, buf_start, (buf + buf_size) - buf_start);
+ ff_vdpau_vc1_decode_picture(s, buf_start, (buf + buf_size) - buf_start);
}
- else if (avctx->hwaccel) {
+ } else if (avctx->hwaccel) {
if (v->field_mode && buf_start_second_field) {
// decode first field
s->picture_structure = PICT_BOTTOM_FIELD - v->tff;