summaryrefslogtreecommitdiff
path: root/libavcodec/libvorbis.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2010-10-14 07:47:49 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-10-14 07:47:49 +0000
commitda7548585e1ed0fdb1c337c2f07ab313c99122a5 (patch)
treec6a51ace1dd43410bbbca37841a3e0be10df812e /libavcodec/libvorbis.c
parent6fae8c5443d4fa40fe65f67138f4dbb731f23d72 (diff)
Fix crash when using iblock option (when a warning is logged).
Patch by James Zern, jzern google Originally committed as revision 25472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libvorbis.c')
-rw-r--r--libavcodec/libvorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index ab4b4253da..b7466cd1b5 100644
--- a/libavcodec/libvorbis.c
+++ b/libavcodec/libvorbis.c
@@ -58,7 +58,7 @@ static const AVOption options[]={
{"iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), FF_OPT_TYPE_DOUBLE, 0, -15, 0, AV_OPT_FLAG_ENCODING_PARAM},
{NULL}
};
-static const AVClass class = { "libvorbis", NULL, options, LIBAVUTIL_VERSION_INT };
+static const AVClass class = { "libvorbis", av_default_item_name, options, LIBAVUTIL_VERSION_INT };
static av_cold int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) {
OggVorbisContext *context = avccontext->priv_data ;