• Justin Ruggles's avatar
    ttadec: fix last frame handling when seeking · 5778299c
    Justin Ruggles authored
    Using a frame count, as is done currently, does not work at all with
    seeking. Instead, when the number of samples in the final frame has
    been decoded, we check if only the 32-bit CRC is remaining. If so, we
    assume that it is the final frame.
    
    There is no longer a need to keep total_frames in TTAContext.
    5778299c
tta.c 14.3 KB