aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tea.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2016-02-14 18:11:53 -0800
committerClément Bœsch <u@pkh.me>2016-02-17 21:32:18 +0100
commit2f26b67d557f56e01f8a3efa199a832ad8ce70b0 (patch)
tree214af4ea65b2c9393b78281f80aeab6265e5aefb /libavutil/tea.c
parentf09449daa4f232a932d538f38029cab8d0e7a13f (diff)
downloadffmpeg-2f26b67d557f56e01f8a3efa199a832ad8ce70b0.tar.gz
lavc/ccaption_dec: do not ignore repeated character commands
control codes in a cc stream can be repeated, and must be ignored. however, repeated characters must not be ignored. the code attempted to wipe prev_cmd in handle_char to allow repeated characters to be processed, but prev_cmd would previously get reset _after_ handle_char() i also moved the prev_cmd reset out from handle_char() so it can be re-used for special character sets, which _must_ be ignored when repeated.
Diffstat (limited to 'libavutil/tea.c')
0 files changed, 0 insertions, 0 deletions