movenc: use timestamps instead of frame_size for samples-per-packet
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 26 Feb 2012 21:25:46 +0000 (16:25 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 09:33:37 +0000 (04:33 -0500)
commitf234e8a32e6c69d7b63f8627f278be7c2c987f43
tree7a8fc5fc8f6f30529650390525907aee878a11eb
parentf3dab5fb6d6290721038dea2e5b1778abecd232d
movenc: use timestamps instead of frame_size for samples-per-packet

For encoding, AVCodecContext.frame_size is the number of input samples to
send to the encoder and does not necessarily correspond directly to the
timestamps of the output packets.
libavformat/movenc.c