diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2014-01-13 15:21:48 -0800 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2014-01-13 15:21:48 -0800 |
commit | 096ab11012cd958c9cc3c149f877c37d80b36b2f (patch) | |
tree | 65c91554a6ef00d81f05dddb31361c069ac4c511 /ivfenc.c | |
parent | dd31f2e4ae480f074841e0653dff91ccda9df091 (diff) | |
download | libvpx-096ab11012cd958c9cc3c149f877c37d80b36b2f.tar libvpx-096ab11012cd958c9cc3c149f877c37d80b36b2f.tar.gz libvpx-096ab11012cd958c9cc3c149f877c37d80b36b2f.tar.bz2 libvpx-096ab11012cd958c9cc3c149f877c37d80b36b2f.zip |
Removing pass number check from ivf_write_file_header().
Putting appropriate check to open_output_file() and close_output_file().
Before that the output file has been opened twice during two-pass encoding.
Change-Id: I290cecf00513d6a31ca3f45bc20fef7efcb10190
Diffstat (limited to 'ivfenc.c')
-rw-r--r-- | ivfenc.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -20,9 +20,6 @@ void ivf_write_file_header(FILE *outfile, int frame_cnt) { char header[32]; - if (cfg->g_pass != VPX_RC_ONE_PASS && cfg->g_pass != VPX_RC_LAST_PASS) - return; - header[0] = 'D'; header[1] = 'K'; header[2] = 'I'; |