git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029cf99
)
oggparseopus: export pre-skip
author
Anton Khirnov
<anton@khirnov.net>
Fri, 1 Jul 2016 04:32:49 +0000
(06:32 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 2 Jul 2016 07:30:40 +0000
(09:30 +0200)
Bug-Id: 945, along with the following commit
libavformat/oggparseopus.c
patch
|
blob
|
history
diff --git
a/libavformat/oggparseopus.c
b/libavformat/oggparseopus.c
index
86d0803
..
915ef42
100644
(file)
--- a/
libavformat/oggparseopus.c
+++ b/
libavformat/oggparseopus.c
@@
-57,6
+57,8
@@
static int opus_header(AVFormatContext *avf, int idx)
st->codecpar->channels = AV_RL8(packet + 9);
priv->pre_skip = AV_RL16(packet + 10);
+ st->codecpar->initial_padding = priv->pre_skip;
+
extradata = av_malloc(os->psize + AV_INPUT_BUFFER_PADDING_SIZE);
if (!extradata)
return AVERROR(ENOMEM);