shithub: libvpx

Download patch

ref: 57b4a7f8cdb51585746e65663b957bb74b283fb7
parent: 58b9c9fbce267894b69d4521bf34349f4e557b9b
parent: a97b23ba5d908be15599206259b55d6cf6e47349
author: Dmitry Kovalev <dkovalev@google.com>
date: Wed Jan 22 07:38:08 EST 2014

Merge "vpxdec: Disable writing of Y4M header when --md5 argument is specified."

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -840,7 +840,7 @@
       show_progress(frame_in, frame_out, dx_time);
 
     if (!noblit) {
-      if (frame_out == 1 && img && use_y4m && single_file)
+      if (frame_out == 1 && img && single_file && !do_md5 && use_y4m)
         y4m_write_file_header(outfile,
                               vpx_input_ctx.width, vpx_input_ctx.height,
                               &vpx_input_ctx.framerate, img->fmt);