Commit 57b4a7f8 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review
Browse files

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

Showing with 1 addition and 1 deletion
......@@ -840,7 +840,7 @@ int main_loop(int argc, const char **argv_) {
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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment