[FFmpeg-cvslog] lavf/oggparsevp8: use ff_vorbis_stream_comment()

James Almer git at videolan.org
Thu Aug 14 06:12:53 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Aug 14 00:31:00 2014 -0300| [dffbac0956cad40d250b0c6b345a2dede14559cc] | committer: Michael Niedermayer

lavf/oggparsevp8: use ff_vorbis_stream_comment()

commit db68ef89 did not update the vp8 parser

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dffbac0956cad40d250b0c6b345a2dede14559cc
---

 libavformat/oggparsevp8.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]);



More information about the ffmpeg-cvslog mailing list