aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-10 17:51:11 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-12-22 14:45:35 -0500
commit5778299c7ed3f82c624589bd35c82f597a8e0b64 (patch)
treeb53afd8af21f683f7d53e830a52717e67119e2e4 /libavcodec/pngdec.c
parent68a04b0ccee66f57516e129dd3ec457fd50b4bec (diff)
downloadffmpeg-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/pngdec.c')
0 files changed, 0 insertions, 0 deletions