h264dec: Fix indentation

This commit is contained in:
Timothy Gu 2016-08-04 11:16:44 -07:00
parent 26648703db
commit f297d1e9e5
1 changed files with 16 additions and 16 deletions

View File

@ -816,24 +816,24 @@ again:
#endif #endif
} }
if (avctx->hwaccel) { if (avctx->hwaccel) {
ret = avctx->hwaccel->decode_slice(avctx, ret = avctx->hwaccel->decode_slice(avctx,
nal->raw_data, nal->raw_data,
nal->raw_size); nal->raw_size);
if (ret < 0) if (ret < 0)
goto end; goto end;
#if FF_API_CAP_VDPAU #if FF_API_CAP_VDPAU
} else if (CONFIG_H264_VDPAU_DECODER && } else if (CONFIG_H264_VDPAU_DECODER &&
h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) { h->avctx->codec->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU) {
ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0], ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
start_code, start_code,
sizeof(start_code)); sizeof(start_code));
ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0], ff_vdpau_add_data_chunk(h->cur_pic_ptr->f->data[0],
nal->raw_data, nal->raw_data,
nal->raw_size); nal->raw_size);
#endif #endif
} else } else
context_count++; context_count++;
break; break;
case H264_NAL_DPA: case H264_NAL_DPA:
case H264_NAL_DPB: case H264_NAL_DPB: