diff options
author | Christian Vogler <cvogler@users.sourceforge.net> | 2002-03-20 18:38:20 +0000 |
---|---|---|
committer | Christian Vogler <cvogler@users.sourceforge.net> | 2002-03-20 18:38:20 +0000 |
commit | 350d2810b46abe5a04c0e678f23193111b0a2961 (patch) | |
tree | a05fefa53b6da26780ff0163f3521f364f4a9af8 /src/libspucc/cc_decoder.c | |
parent | e9a5bc9ef47ef6235b21646bd17a38881f1eaebb (diff) | |
download | xine-lib-350d2810b46abe5a04c0e678f23193111b0a2961.tar.gz xine-lib-350d2810b46abe5a04c0e678f23193111b0a2961.tar.bz2 |
back out incorrect Pearl Harbor fix
CVS patchset: 1596
CVS date: 2002/03/20 18:38:20
Diffstat (limited to 'src/libspucc/cc_decoder.c')
-rw-r--r-- | src/libspucc/cc_decoder.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/libspucc/cc_decoder.c b/src/libspucc/cc_decoder.c index 118c53e54..2717d280c 100644 --- a/src/libspucc/cc_decoder.c +++ b/src/libspucc/cc_decoder.c @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: cc_decoder.c,v 1.8 2002/03/17 02:56:37 cvogler Exp $ + * $Id: cc_decoder.c,v 1.9 2002/03/20 18:38:20 cvogler Exp $ * * stuff needed to provide closed captioning decoding and display * @@ -1179,19 +1179,6 @@ static void cc_decode_EIA608(cc_decoder_t *this, uint16_t data) uint8_t c1 = data & 0x7f; uint8_t c2 = (data >> 8) & 0x7f; - /* Ignore 0 0 encoding altogether; don't even run it through the - duplicate CC control code detection. Some MPEG-2 streams - apparently encode all captions with 0, 0 interleaved. I am not - sure if this interleaving conforms to the EIA-608 standard, but - checking for it fixes rare captioning problems with some DVDs. - */ - if (c1 == 0 && c2 == 0) - return; - -#if LOG_DEBUG >= 3 - printf("decoding %x %x\n", c1, c2); -#endif - if (c1 & 0x60) { /* normal character, 0x20 <= c1 <= 0x7f */ cc_decode_standard_char(this, c1, c2); } |