summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264dec.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-08-04 11:16:44 -0700
committerTimothy Gu <timothygu99@gmail.com>2016-08-04 11:16:44 -0700
commitf297d1e9e5281e4ed9c0e21b181ba2d0a7735e67 (patch)
treec76acee94265c3e1b4b963ba880360a77490e25f /libavcodec/h264dec.c
parent26648703dbfb7b6b9ee70d4a58d2bcc079c33038 (diff)
downloadffmpeg-streaming-f297d1e9e5281e4ed9c0e21b181ba2d0a7735e67.zip
ffmpeg-streaming-f297d1e9e5281e4ed9c0e21b181ba2d0a7735e67.tar.gz
h264dec: Fix indentation
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r--libavcodec/h264dec.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 9313301..904ae55 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -816,24 +816,24 @@ again:
#endif
}
- if (avctx->hwaccel) {
- ret = avctx->hwaccel->decode_slice(avctx,
- nal->raw_data,
- nal->raw_size);
- if (ret < 0)
- goto end;
+ if (avctx->hwaccel) {
+ ret = avctx->hwaccel->decode_slice(avctx,
+ nal->raw_data,
+ nal->raw_size);
+ if (ret < 0)
+ goto end;
#if FF_API_CAP_VDPAU
- } else if (CONFIG_H264_VDPAU_DECODER &&
- h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) {
- ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
- start_code,
- sizeof(start_code));
- ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
- nal->raw_data,
- nal->raw_size);
+ } else if (CONFIG_H264_VDPAU_DECODER &&
+ h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) {
+ ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
+ start_code,
+ sizeof(start_code));
+ ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
+ nal->raw_data,
+ nal->raw_size);
#endif
- } else
- context_count++;
+ } else
+ context_count++;
break;
case H264_NAL_DPA:
case H264_NAL_DPB:
OpenPOWER on IntegriCloud