MAD Input: Fix gapless decoding of FFmpeg files
FFmpeg processed files may also contain the LAME tag magic of 'Lavf' or 'Lavc', not just 'LAME'. Missed this when I was maintaining the FFmpeg code that handles this, or at least adding iTunes support to it. Fixes #250 again. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
2995f67c56
commit
5a47021f6d
|
@ -303,7 +303,7 @@
|
|||
|
||||
ancillaryBitsRemaining -= 32;
|
||||
|
||||
if('LAME' == magic) {
|
||||
if('LAME' == magic || 'Lavf' == magic || 'Lavc' == magic) {
|
||||
if(LAME_HEADER_SIZE > ancillaryBitsRemaining)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue