aomenc: Don't print warning in quiet mode.

Change-Id: I8a23fcf0839c2c2b1d638c3e0fc9d4e5a09f1269
This commit is contained in:
Urvang Joshi 2017-02-16 12:43:52 -08:00
Родитель 002e7b7a03
Коммит 51c048eb2b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2056,7 +2056,7 @@ int main(int argc, const char **argv_) {
if (stream->config.cfg.g_profile > 1) { if (stream->config.cfg.g_profile > 1) {
stream->config.use_16bit_internal = 1; stream->config.use_16bit_internal = 1;
} }
if (profile_updated) { if (profile_updated && !global.quiet) {
fprintf(stderr, fprintf(stderr,
"Warning: automatically upgrading to profile %d to " "Warning: automatically upgrading to profile %d to "
"match input format.\n", "match input format.\n",
@ -2080,7 +2080,7 @@ int main(int argc, const char **argv_) {
default: break; default: break;
} }
} }
if (profile_updated) { if (profile_updated && !global.quiet) {
fprintf(stderr, fprintf(stderr,
"Warning: automatically upgrading to profile %d to " "Warning: automatically upgrading to profile %d to "
"match input format.\n", "match input format.\n",