movenc: Set mov->mode earlier in mov_write_header
authorMartin Storsjö <martin@martin.st>
Sat, 21 Sep 2013 22:29:33 +0000 (01:29 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 22 Sep 2013 13:10:21 +0000 (16:10 +0300)
commit187023f6b2b43966acb2449a379b4ededdc4b22e
tree735e3daaf42e7f9c42ec3ece1bc7d45261b63870
parent5055035670bd1a1eaca64bd3bc71fb07de9df2c3
movenc: Set mov->mode earlier in mov_write_header

This allows simplifying some early checks that depend on the
muxer mode.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c