movenc: Don't require frame_size to be set for modes other than mov
authorMartin Storsjö <martin@martin.st>
Mon, 23 Jan 2012 12:56:56 +0000 (14:56 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 25 Jan 2012 20:25:56 +0000 (22:25 +0200)
commit9f9c45f4b635457543a3bc37b09a679daa9dabea
treea7eead7f45cb65c2560110afc7ebfdd7ff733e6b
parent6cb288290dcc66a405e0c226b26f31a7d248b7cd
movenc: Don't require frame_size to be set for modes other than mov

The field frame_size isn't written to the output anywhere except
than in mov.

This facilitates stream copy from formats that don't set frame_size.

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