diff options
author | James Zern <jzern@google.com> | 2010-10-14 07:47:49 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-10-14 07:47:49 +0000 |
commit | da7548585e1ed0fdb1c337c2f07ab313c99122a5 (patch) | |
tree | c6a51ace1dd43410bbbca37841a3e0be10df812e | |
parent | 6fae8c5443d4fa40fe65f67138f4dbb731f23d72 (diff) | |
download | ffmpeg-da7548585e1ed0fdb1c337c2f07ab313c99122a5.tar.gz |
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
-rw-r--r-- | libavcodec/libvorbis.c | 2 |
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 ; |