diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-30 07:43:26 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-10 20:22:06 +0200 |
commit | b66752790a94820c23b0ac994d6190dd9048582d (patch) | |
tree | 8eff447721f48ce5ea757b29204f23f21c18a830 /libavcodec/libvorbis.c | |
parent | b27b54de31af2ad449291514e790aacde650ded2 (diff) | |
download | ffmpeg-b66752790a94820c23b0ac994d6190dd9048582d.tar.gz |
AVOptions: make default_val a union, as proposed in AVOption2.
This breaks API and ABI.
Diffstat (limited to 'libavcodec/libvorbis.c')
-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 0a52daf3f1..88da705a32 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -55,7 +55,7 @@ typedef struct OggVorbisContext { } OggVorbisContext ; static const AVOption options[]={ -{"iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), FF_OPT_TYPE_DOUBLE, 0, -15, 0, AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM}, +{"iblock", "Sets the impulse block bias", offsetof(OggVorbisContext, iblock), FF_OPT_TYPE_DOUBLE, {.dbl = 0}, -15, 0, AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM}, {NULL} }; static const AVClass class = { "libvorbis", av_default_item_name, options, LIBAVUTIL_VERSION_INT }; |