avcodec/libvpxenc: make class names unique

This should fix an infinite loop with -h full

Found-by: <Foofie>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-09 02:57:05 +02:00
parent d1e8d4b055
commit a20f049c2a

View File

@ -768,7 +768,7 @@ static av_cold int vp8_init(AVCodecContext *avctx)
}
static const AVClass class_vp8 = {
.class_name = "libvpx encoder",
.class_name = "libvpx-vp8 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
@ -797,7 +797,7 @@ static av_cold int vp9_init(AVCodecContext *avctx)
}
static const AVClass class_vp9 = {
.class_name = "libvpx encoder",
.class_name = "libvpx-vp9 encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,