summaryrefslogtreecommitdiff
path: root/libavdevice/caca.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-10-31 02:31:40 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-31 02:31:40 +0100
commit865f6f410fdba92b2c92b9b83381dc96e660e4e4 (patch)
treed9b0763fcc96e24c7c9f13f02149029d5387bc44 /libavdevice/caca.c
parent81d3986d2d097658a768a570d9b3bcceb4f97076 (diff)
downloadffmpeg-865f6f410fdba92b2c92b9b83381dc96e660e4e4.tar.gz
avdevice/caca: change AV_OPT_TYPE_STRING to set .str default
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/caca.c')
-rw-r--r--libavdevice/caca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index 14775d2c7d..75adc354dc 100644
--- a/libavdevice/caca.c
+++ b/libavdevice/caca.c
@@ -211,7 +211,7 @@ static const AVOption options[] = {
{ "charset", "set charset used to render output", OFFSET(charset), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "color", "set color used to render output", OFFSET(color), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC },
{ "list_drivers", "list available drivers", OFFSET(list_drivers), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, ENC },
- { "list_dither", "list available dither options", OFFSET(list_dither), AV_OPT_TYPE_STRING, {.dbl=0}, 0, 1, ENC, "list_dither" },
+ { "list_dither", "list available dither options", OFFSET(list_dither), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, ENC, "list_dither" },
{ "algorithms", NULL, 0, AV_OPT_TYPE_CONST, {.str = "algorithms"}, 0, 0, ENC, "list_dither" },
{ "antialiases", NULL, 0, AV_OPT_TYPE_CONST, {.str = "antialiases"},0, 0, ENC, "list_dither" },
{ "charsets", NULL, 0, AV_OPT_TYPE_CONST, {.str = "charsets"}, 0, 0, ENC, "list_dither" },