Browse Source

Reindent the content of one if(){} in ff_dxva2_common_end_frame.

Originally committed as revision 21402 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Laurent Aimar 16 years ago
parent
commit
8cf9bbb6dc
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      libavcodec/dxva2_h264.c

+ 9
- 9
libavcodec/dxva2_h264.c View File

@@ -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,


Loading…
Cancel
Save