ref: a71dcd6f99dda9cd7ecda04cc892ae56bb879510
parent: e6501296834cdcfd1f7efb59eeed5562fc93c30e
parent: 3977507339794e9fb7f52d4dffae10c3ea265892
author: James Zern <[email protected]>
date: Wed Dec 16 17:53:01 EST 2015
Merge "vpxenc: don't warn about libwebm availability if writing IVF."
--- 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