projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b9d48
)
OGG: Add padding at end of Vorbis headers
author
Siarhei Siamashka
<siarhei.siamashka@gmail.com>
Tue, 15 Jul 2008 23:00:29 +0000
(23:00 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 15 Jul 2008 23:00:29 +0000
(23:00 +0000)
Patch by Siarhei Siamashka <siarhei.siamashka gmail com>
Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggparsevorbis.c
patch
|
blob
|
history
diff --git
a/libavformat/oggparsevorbis.c
b/libavformat/oggparsevorbis.c
index
29e6d91
..
b116273
100644
(file)
--- a/
libavformat/oggparsevorbis.c
+++ b/
libavformat/oggparsevorbis.c
@@
-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;
}