avcodec/libmp3lame: do not attempt to flush lame if no data was input
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 14:56:55 +0000 (16:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 15:37:26 +0000 (17:37 +0200)
commitebbc33a42d1d2f3a9b43444d66416284630bf2f4
tree22d3dc50864d2c17804d41c8cf99e95441013f36
parent6552e23d560c099d4a79976327432ae0a1b997dc
avcodec/libmp3lame: do not attempt to flush lame if no data was input

this prevents the creation of a packet even though no single sample has ever
been input, which some confusion in the timestamp generation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libmp3lame.c