movenc: small refactor mov_write_packet
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 11 Apr 2012 10:37:14 +0000 (03:37 -0700)
committerMartin Storsjö <martin@martin.st>
Wed, 11 Apr 2012 11:38:37 +0000 (14:38 +0300)
commitebbede22657a17c40f913857b23c8de85e75fe5c
treeb0f98b1031f0cf8d5dfc4ea746416ab5f35b6cd5
parent18b59956e0e94017f1b519bb42c7c937b2f9f8a4
movenc: small refactor mov_write_packet

Share the formerly internal write_packet with the hinter and move the
fragment flush logic to the user facing one since it is not concerned
about movtrack-only streams.

Fixes bug #263

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