diff options
author | Aman Gupta <aman@tmm1.net> | 2016-02-14 18:11:53 -0800 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-02-17 21:32:18 +0100 |
commit | 2f26b67d557f56e01f8a3efa199a832ad8ce70b0 (patch) | |
tree | 214af4ea65b2c9393b78281f80aeab6265e5aefb /libavcodec/hap.h | |
parent | f09449daa4f232a932d538f38029cab8d0e7a13f (diff) | |
download | ffmpeg-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 'libavcodec/hap.h')
0 files changed, 0 insertions, 0 deletions