summaryrefslogtreecommitdiff
path: root/vpxdec.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2014-01-22 11:53:49 -0800
committerDmitry Kovalev <dkovalev@google.com>2014-01-22 11:53:49 -0800
commita97b23ba5d908be15599206259b55d6cf6e47349 (patch)
tree1e69bca2b7743cfd375a817e14d16008d2c7e80d /vpxdec.c
parent79b9baa958126093f24cca77c313a7e7ef5abe44 (diff)
downloadlibvpx-a97b23ba5d908be15599206259b55d6cf6e47349.tar.gz
libvpx-a97b23ba5d908be15599206259b55d6cf6e47349.tar.bz2
libvpx-a97b23ba5d908be15599206259b55d6cf6e47349.zip
vpxdec: Disable writing of Y4M header when --md5 argument is specified.
Change-Id: I2380b1b80f48496732b69c8255a485024d375f0f
Diffstat (limited to 'vpxdec.c')
-rw-r--r--vpxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpxdec.c b/vpxdec.c
index deb307eb8..fc344a162 100644
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -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);