diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-11 02:51:11 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-22 23:45:35 +0400 |
commit | 5778299c7ed3f82c624589bd35c82f597a8e0b64 (patch) | |
tree | b53afd8af21f683f7d53e830a52717e67119e2e4 /libavformat/mxfdec.c | |
parent | 68a04b0ccee66f57516e129dd3ec457fd50b4bec (diff) |
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 'libavformat/mxfdec.c')
0 files changed, 0 insertions, 0 deletions