]> git.sesse.net Git - vlc/commit
Fix divide by 0 when repacketizing a Flac stream of known rate
authorDavid Flynn <davidf@rd.bbc.co.uk>
Sat, 23 Aug 2008 16:17:24 +0000 (16:17 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 23 Aug 2008 16:47:19 +0000 (18:47 +0200)
commitc18dbcc9602a6c2f5dc5b87284fa9dc4f7fdfe9a
tree273d1b9646bcf1eaae899cdc8f686d24ae0d3780
parent19b7dc4cfd41a51adff23b20a2ee8753d08c30bc
Fix divide by 0 when repacketizing a Flac stream of known rate

Before setting end_date, remember to initialize the divider for future
calculations.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
modules/codec/flac.c