Revision d46b2d68

View differences:

libavcodec/vdpau.c
131 131
{
132 132
    H264Context *h = s->avctx->priv_data;
133 133
    struct vdpau_render_state *render;
134
    int i;
134 135

  
135 136
    render = (struct vdpau_render_state *)s->current_picture_ptr->data[0];
136 137
    assert(render);
......
139 140
    if (render->info.h264.slice_count < 1)
140 141
        return;
141 142

  
142
    for (int i = 0; i < 2; ++i) {
143
    for (i = 0; i < 2; ++i) {
143 144
        int foc = s->current_picture_ptr->field_poc[i];
144 145
        if (foc == INT_MAX)
145 146
            foc = 0;

Also available in: Unified diff