summaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsevp8.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-14 00:31:00 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-14 05:47:06 +0200
commitdffbac0956cad40d250b0c6b345a2dede14559cc (patch)
treeb1bccd3d5c36320dec021f1a1fe9b8abae4399a8 /libavformat/oggparsevp8.c
parent7cdef77b50360c4294e50115fe6d0ee46fc9a9d9 (diff)
downloadffmpeg-streaming-dffbac0956cad40d250b0c6b345a2dede14559cc.zip
ffmpeg-streaming-dffbac0956cad40d250b0c6b345a2dede14559cc.tar.gz
lavf/oggparsevp8: use ff_vorbis_stream_comment()
commit db68ef89 did not update the vp8 parser Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsevp8.c')
-rw-r--r--libavformat/oggparsevp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsevp8.c b/libavformat/oggparsevp8.c
index b3dd7ab..5959d32 100644
--- a/libavformat/oggparsevp8.c
+++ b/libavformat/oggparsevp8.c
@@ -64,7 +64,7 @@ static int vp8_header(AVFormatContext *s, int idx)
case 0x02:
if (p[6] != 0x20)
return AVERROR_INVALIDDATA;
- ff_vorbis_comment(s, &st->metadata, p + 7, os->psize - 7, 1);
+ ff_vorbis_stream_comment(s, st, p + 7, os->psize - 7);
break;
default:
av_log(s, AV_LOG_ERROR, "Unknown VP8 header type 0x%02X\n", p[5]);
OpenPOWER on IntegriCloud