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>
This commit is contained in:
James Almer 2014-08-14 00:31:00 -03:00 committed by Michael Niedermayer
parent 7cdef77b50
commit dffbac0956
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ static int vp8_header(AVFormatContext *s, int idx)
case 0x02: case 0x02:
if (p[6] != 0x20) if (p[6] != 0x20)
return AVERROR_INVALIDDATA; 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; break;
default: default:
av_log(s, AV_LOG_ERROR, "Unknown VP8 header type 0x%02X\n", p[5]); av_log(s, AV_LOG_ERROR, "Unknown VP8 header type 0x%02X\n", p[5]);