[FFmpeg-devel] [PATCH 6/6] libavcodec/ccaption_dec: prevent debug logging about tab offset commands
Aman Gupta
ffmpeg at tmm1.net
Wed Jan 6 00:35:08 CET 2016
From: Aman Gupta <aman at tmm1.net>
this can be filled in if/when the decoder adds positioning support
---
libavcodec/ccaption_dec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c
index fbf23d0..34a7208 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -506,6 +506,8 @@ static void process_cc608(CCaptionSubContext *ctx, int64_t pts, uint8_t hi, uint
ff_dlog(ctx, "Unknown command 0x%hhx 0x%hhx\n", hi, lo);
break;
}
+ } else if ((hi == 0x17 || hi == 0x1f) && (lo == 0x21 || lo == 0x22 || lo == 0x23)) {
+ /* ignore tab offset */
} else if (hi >= 0x20) {
/* Standard characters (always in pairs) */
handle_char(ctx, hi, lo, pts);
--
2.5.3
More information about the ffmpeg-devel
mailing list