flac : Check compression ratio at end of encode process.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 21 Jul 2013 12:10:24 +0000 (22:10 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 21 Jul 2013 12:10:27 +0000 (22:10 +1000)
commit3418acc1f62449f05962f03385e1230ae80f62d7
treea0df5f6c4d66f14a9a89697839b4746280666076
parentf34f31dac0032887887b5bbcb0944de055b757d0
flac : Check compression ratio at end of encode process.

Stash the compression ratio in the EncoderSession struct and at the
end of the encode process, check if its > 1.0. Print an error message
if it is.
src/flac/encode.c