diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-30 07:43:26 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-30 08:34:16 +0200 |
commit | 85770f2a2651497861ed938efcd0df3696ff5e45 (patch) | |
tree | f94d28666962a9c2493ed5df4ff931ddc23b56c6 /libavformat/mp3enc.c | |
parent | 35ceaa737643008e89a9ba54aaa9ebc0b57683b4 (diff) | |
download | ffmpeg-85770f2a2651497861ed938efcd0df3696ff5e45.tar.gz |
AVOptions: make default_val a union, as proposed in AVOption2.
This breaks API and ABI.
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r-- | libavformat/mp3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 0a2d04c7bb..179b8760ed 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -161,7 +161,7 @@ typedef struct MP3Context { static const AVOption options[] = { { "id3v2_version", "Select ID3v2 version to write. Currently 3 and 4 are supported.", - offsetof(MP3Context, id3v2_version), FF_OPT_TYPE_INT, 4, 3, 4, AV_OPT_FLAG_ENCODING_PARAM}, + offsetof(MP3Context, id3v2_version), FF_OPT_TYPE_INT, {.i64 = 4}, 3, 4, AV_OPT_FLAG_ENCODING_PARAM}, { NULL }, }; |