avformat/subtitles: reduce log level of UTF-16 warning

Applications can use this to silence the message.
pull/71/merge
wm4 10 years ago committed by Carl Eugen Hoyos
parent faa9d29829
commit e5813d96d6
  1. 2
      libavformat/subtitles.c

@ -46,7 +46,7 @@ void ff_text_init_avio(void *s, FFTextReader *r, AVIOContext *pb)
} }
} }
if (s && (r->type == FF_UTF16LE || r->type == FF_UTF16BE)) if (s && (r->type == FF_UTF16LE || r->type == FF_UTF16BE))
av_log(s, AV_LOG_WARNING, av_log(s, AV_LOG_INFO,
"UTF16 is automatically converted to UTF8, do not specify a character encoding\n"); "UTF16 is automatically converted to UTF8, do not specify a character encoding\n");
} }

Loading…
Cancel
Save