[FFmpeg-cvslog] r25472 - trunk/libavcodec/libvorbis.c
cehoyos
subversion
Thu Oct 14 09:47:49 CEST 2010
Author: cehoyos
Date: Thu Oct 14 09:47:49 2010
New Revision: 25472
Log:
Fix crash when using iblock option (when a warning is logged).
Patch by James Zern, jzern google
Modified:
trunk/libavcodec/libvorbis.c
Modified: trunk/libavcodec/libvorbis.c
==============================================================================
--- trunk/libavcodec/libvorbis.c Wed Oct 13 15:14:52 2010 (r25471)
+++ trunk/libavcodec/libvorbis.c Thu Oct 14 09:47:49 2010 (r25472)
@@ -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 ;
More information about the ffmpeg-cvslog
mailing list