Revision 090846f3 libavcodec/h264.c

View differences:

libavcodec/h264.c
7425 7425
               && avctx->skip_frame < AVDISCARD_ALL){
7426 7426
                if(ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU){
7427 7427
                    static const uint8_t start_code[] = {0x00, 0x00, 0x01};
7428
                    ff_VDPAU_h264_add_data_chunk(h, start_code, sizeof(start_code));
7429
                    ff_VDPAU_h264_add_data_chunk(h, &buf[buf_index - consumed], consumed );
7428
                    ff_vdpau_h264_add_data_chunk(h, start_code, sizeof(start_code));
7429
                    ff_vdpau_h264_add_data_chunk(h, &buf[buf_index - consumed], consumed );
7430 7430
                }else
7431 7431
                    context_count++;
7432 7432
            }
......
7633 7633
        h->prev_frame_num= h->frame_num;
7634 7634

  
7635 7635
        if (ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU)
7636
            ff_VDPAU_h264_picture_complete(h);
7636
            ff_vdpau_h264_picture_complete(h);
7637 7637

  
7638 7638
        /*
7639 7639
         * FIXME: Error handling code does not seem to support interlaced

Also available in: Unified diff