]> git.sesse.net Git - ffmpeg/commit
zmbvenc: move header writing to the end of encode_frame().
authorAnton Khirnov <anton@khirnov.net>
Sun, 19 Feb 2012 10:16:16 +0000 (11:16 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 20 Feb 2012 06:50:44 +0000 (07:50 +0100)
commit8c8c7b5e37a64df105100ef3d0e6722c991faa9b
tree39e19b46e752a8a2587750a09b3f8164dd7c7cb2
parent8fb26950ed3c4cd1e175c4439726884926cba022
zmbvenc: move header writing to the end of encode_frame().

This makes switching to encode2() simpler, because it allows us to know
exactly how large should the output buffer be before we start writing
into it.
libavcodec/zmbvenc.c