[FFmpeg-devel] [PATCH 2/2] ffprobe: do not loose non ascii characters in non utf8 strings
Michael Niedermayer
michaelni at gmx.at
Sat Apr 12 20:18:52 CEST 2014
Fixes Ticket3363
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
ffprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffprobe.c b/ffprobe.c
index ef3bcc6..7905f42 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -336,7 +336,7 @@ static const AVOption writer_options[] = {
{ "replace", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = WRITER_STRING_VALIDATION_REPLACE}, .unit = "sv" },
{ "fail", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = WRITER_STRING_VALIDATION_FAIL}, .unit = "sv" },
{ "string_validation_replacement", "set string validation replacement string", OFFSET(string_validation_replacement), AV_OPT_TYPE_STRING, {.str=""}},
- { "svr", "set string validation replacement string", OFFSET(string_validation_replacement), AV_OPT_TYPE_STRING, {.str=""}},
+ { "svr", "set string validation replacement string", OFFSET(string_validation_replacement), AV_OPT_TYPE_STRING, {.str="?"}},
{ NULL }
};
--
1.7.9.5
More information about the ffmpeg-devel
mailing list