summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2_h264.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2010-01-23 18:00:51 +0000
committerLaurent Aimar <fenrir@videolan.org>2010-01-23 18:00:51 +0000
commit8cf9bbb6dc04e69f339c2690bb4d6192656a8a40 (patch)
tree6e9bc44be0fe6b59a023d54842148c481b7033a5 /libavcodec/dxva2_h264.c
parent8db7ee09c3e2952f04e5e43020755c9d65aba699 (diff)
Reindent the content of one if(){} in ff_dxva2_common_end_frame.
Originally committed as revision 21402 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dxva2_h264.c')
-rw-r--r--libavcodec/dxva2_h264.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index 827ab6890d..00caa76677 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -495,15 +495,15 @@ static int ff_dxva2_common_end_frame(AVCodecContext *avctx, MpegEncContext *s,
buffer_count++;
if (qm_size > 0) {
- result = commit_buffer(avctx, ctx, &buffer[buffer_count],
- DXVA2_InverseQuantizationMatrixBufferType,
- qm, qm_size, 0);
- if (result) {
- av_log(avctx, AV_LOG_ERROR,
- "Failed to add inverse quantization matrix buffer\n");
- goto end;
- }
- buffer_count++;
+ result = commit_buffer(avctx, ctx, &buffer[buffer_count],
+ DXVA2_InverseQuantizationMatrixBufferType,
+ qm, qm_size, 0);
+ if (result) {
+ av_log(avctx, AV_LOG_ERROR,
+ "Failed to add inverse quantization matrix buffer\n");
+ goto end;
+ }
+ buffer_count++;
}
result = commit_bs_si(avctx,