]> granicus.if.org Git - libvpx/commit
vpxenc: open output file after setting pass #
authorJames Zern <jzern@google.com>
Thu, 15 Aug 2013 01:28:42 +0000 (18:28 -0700)
committerJames Zern <jzern@google.com>
Thu, 15 Aug 2013 01:34:44 +0000 (18:34 -0700)
commit8cb09719a35ab2285e68cdc5bed2ce58634806f1
tree7e610f2dca5035587f31caaa501f30661a55f044
parentbb072000e8da3b5a4f59cf851b8c0d43871b9b6e
vpxenc: open output file after setting pass #

write_ivf_file_header would incorrectly skip writing the file header in
the 2nd pass, causing the initial frame header to be overwritten on
close potential causing an overly large frame header to be read and a
crash.

most likely broken since:
9e50ed7 vpxenc: initial implementation of multistream support

fixes issue #585

Change-Id: I7e863e295dd6344c33b3e9c07f9f0394ec496e7b
vpxenc.c