Revision 589790c2

View differences:

libavformat/oggparsevorbis.c
146 146
        memcpy(&ptr[offset], priv->packet[i], priv->len[i]);
147 147
        offset += priv->len[i];
148 148
    }
149
    *buf = av_realloc(*buf, offset);
149
    *buf = av_realloc(*buf, offset + FF_INPUT_BUFFER_PADDING_SIZE);
150 150
    return offset;
151 151
}
152 152

  

Also available in: Unified diff