mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
6fae8c5443
commit
da7548585e
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue