Revision c53d2d90 libavcodec/dca_parser.c

View differences:

libavcodec/dca_parser.c
94 94

  
95 95
static int dca_parse(AVCodecParserContext * s,
96 96
                     AVCodecContext * avctx,
97
                     uint8_t ** poutbuf, int *poutbuf_size,
97
                     const uint8_t ** poutbuf, int *poutbuf_size,
98 98
                     const uint8_t * buf, int buf_size)
99 99
{
100 100
    DCAParseContext *pc1 = s->priv_data;
......
106 106
    } else {
107 107
        next = dca_find_frame_end(pc1, buf, buf_size);
108 108

  
109
        if (ff_combine_frame(pc, next, (uint8_t **) & buf, &buf_size) < 0) {
109
        if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
110 110
            *poutbuf = NULL;
111 111
            *poutbuf_size = 0;
112 112
            return buf_size;
113 113
        }
114 114
    }
115
    *poutbuf = (uint8_t *) buf;
115
    *poutbuf = buf;
116 116
    *poutbuf_size = buf_size;
117 117
    return next;
118 118
}

Also available in: Unified diff