[FFmpeg-cvslog] r14249 - trunk/libavformat/oggparsevorbis.c
mru
subversion
Wed Jul 16 01:00:30 CEST 2008
Author: mru
Date: Wed Jul 16 01:00:29 2008
New Revision: 14249
Log:
OGG: Add padding at end of Vorbis headers
Patch by Siarhei Siamashka <siarhei.siamashka gmail com>
Modified:
trunk/libavformat/oggparsevorbis.c
Modified: trunk/libavformat/oggparsevorbis.c
==============================================================================
--- trunk/libavformat/oggparsevorbis.c (original)
+++ trunk/libavformat/oggparsevorbis.c Wed Jul 16 01:00:29 2008
@@ -146,7 +146,7 @@ fixup_vorbis_headers(AVFormatContext * a
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;
}
More information about the ffmpeg-cvslog
mailing list