]> git.sesse.net Git - ffmpeg/commit
avcodec/libvorbisenc: do not attempt to flush 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:50 +0000 (17:37 +0200)
commitf29cdfec961d41bd4905a2983a74e7c814cfb851
treed3b49061b4ff556f3e23fb6d58823c9c3b3d057c
parentebbc33a42d1d2f3a9b43444d66416284630bf2f4
avcodec/libvorbisenc: do not attempt to flush 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/libvorbisenc.c