Revision 2ac41150 libavformat/oggparsevorbis.c

View differences:

libavformat/oggparsevorbis.c
153 153
    for (i = 0; i < 3; i++) {
154 154
        memcpy(&ptr[offset], priv->packet[i], priv->len[i]);
155 155
        offset += priv->len[i];
156
        av_freep(&priv->packet[i]);
156 157
    }
157 158
    *buf = av_realloc(*buf, offset + FF_INPUT_BUFFER_PADDING_SIZE);
158 159
    return offset;

Also available in: Unified diff