From: Ronald S. Bultje Date: Mon, 4 Mar 2013 22:12:49 +0000 (-0800) Subject: vpxenc: actually report mismatch on stderr. X-Git-Tag: v1.3.0~1151^2~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97dd7342b8591627b7dd07cb79f91b544213caa9;p=libvpx vpxenc: actually report mismatch on stderr. Because ctx->err is not set in that case, it will not report the error on stderr. Change-Id: Ifacbf5a03e676fd56522b03c0281d6c723c563ee --- diff --git a/vpxenc.c b/vpxenc.c index 0df0a982f..19e10820c 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -2442,6 +2442,7 @@ static void test_decode(struct stream_state *stream, int y[2], u[2], v[2]; find_mismatch(&stream->ref_enc.img, &stream->ref_dec.img, y, u, v); + stream->decoder.err = 1; warn_or_exit_on_error(&stream->decoder, fatal == TEST_DECODE_FATAL, "Stream %d: Encode/decode mismatch on frame %d" " at Y[%d, %d], U[%d, %d], V[%d, %d]",