diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-10 17:51:11 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-22 14:45:35 -0500 |
commit | 5778299c7ed3f82c624589bd35c82f597a8e0b64 (patch) | |
tree | b53afd8af21f683f7d53e830a52717e67119e2e4 /libavcodec/mpegaudiodecheader.h | |
parent | 68a04b0ccee66f57516e129dd3ec457fd50b4bec (diff) | |
download | ffmpeg-5778299c7ed3f82c624589bd35c82f597a8e0b64.tar.gz |
ttadec: fix last frame handling when seeking
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.
Diffstat (limited to 'libavcodec/mpegaudiodecheader.h')
0 files changed, 0 insertions, 0 deletions