Commit 3cd34d06 authored by mru's avatar mru

OGG: Add padding at end of Vorbis headers

Patch by Siarhei Siamashka <siarhei.siamashka gmail com>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 91014f31
......@@ -146,7 +146,7 @@ fixup_vorbis_headers(AVFormatContext * as, oggvorbis_private_t *priv,
memcpy(&ptr[offset], priv->packet[i], priv->len[i]);
offset += priv->len[i];
}
*buf = av_realloc(*buf, offset);
*buf = av_realloc(*buf, offset + FF_INPUT_BUFFER_PADDING_SIZE);
return offset;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment