Revision 8cf9bbb6 libavcodec/dxva2_h264.c

View differences:

libavcodec/dxva2_h264.c
495 495
    buffer_count++;
496 496

  
497 497
    if (qm_size > 0) {
498
    result = commit_buffer(avctx, ctx, &buffer[buffer_count],
499
                           DXVA2_InverseQuantizationMatrixBufferType,
500
                           qm, qm_size, 0);
501
    if (result) {
502
        av_log(avctx, AV_LOG_ERROR,
503
               "Failed to add inverse quantization matrix buffer\n");
504
        goto end;
505
    }
506
    buffer_count++;
498
        result = commit_buffer(avctx, ctx, &buffer[buffer_count],
499
                               DXVA2_InverseQuantizationMatrixBufferType,
500
                               qm, qm_size, 0);
501
        if (result) {
502
            av_log(avctx, AV_LOG_ERROR,
503
                   "Failed to add inverse quantization matrix buffer\n");
504
            goto end;
505
        }
506
        buffer_count++;
507 507
    }
508 508

  
509 509
    result = commit_bs_si(avctx,

Also available in: Unified diff