Revision c53d2d90 libavcodec/vc1_parser.c

View differences:

libavcodec/vc1_parser.c
72 72

  
73 73
static int vc1_parse(AVCodecParserContext *s,
74 74
                           AVCodecContext *avctx,
75
                           uint8_t **poutbuf, int *poutbuf_size,
75
                           const uint8_t **poutbuf, int *poutbuf_size,
76 76
                           const uint8_t *buf, int buf_size)
77 77
{
78 78
    ParseContext *pc = s->priv_data;
......
83 83
    }else{
84 84
        next= vc1_find_frame_end(pc, buf, buf_size);
85 85

  
86
        if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) {
86
        if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
87 87
            *poutbuf = NULL;
88 88
            *poutbuf_size = 0;
89 89
            return buf_size;
90 90
        }
91 91
    }
92
    *poutbuf = (uint8_t *)buf;
92
    *poutbuf = buf;
93 93
    *poutbuf_size = buf_size;
94 94
    return next;
95 95
}

Also available in: Unified diff