ref: 3977507339794e9fb7f52d4dffae10c3ea265892
parent: b81f04a0cc5344e47389f1a1e852d319e4e389fe
author: Ronald S. Bultje <[email protected]>
date: Wed Dec 16 08:35:43 EST 2015
vpxenc: don't warn about libwebm availability if writing IVF. Change-Id: I1a9635a9948458e6c83f5b58764b7e720d98e2ea
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2060,9 +2060,11 @@
#if !CONFIG_WEBM_IO
FOREACH_STREAM({
- stream->config.write_webm = 0;
- warn("vpxenc was compiled without WebM container support."
- "Producing IVF output");
+ if (stream->config.write_webm) {
+ stream->config.write_webm = 0;
+ warn("vpxenc was compiled without WebM container support."
+ "Producing IVF output");
+ }
});
#endif