From a4b1b5aa281cacde8351d9947b54ccf82ff10cd0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 30 Jul 2016 14:11:05 +0200 Subject: wc3movie: Drop unused cruft --- libavformat/wc3movie.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavformat/wc3movie.c') diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index 2d47ad44b3..f46b8c2f09 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -241,9 +241,6 @@ static int wc3_read_packet(AVFormatContext *s, case TEXT_TAG: /* subtitle chunk */ -#if 0 - avio_skip(pb, size); -#else if ((unsigned)size > sizeof(text) || (ret = avio_read(pb, text, size)) != size) ret = AVERROR(EIO); else { @@ -255,7 +252,6 @@ static int wc3_read_packet(AVFormatContext *s, i += text[i] + 1; av_log (s, AV_LOG_DEBUG, " fronsay: %s\n", &text[i + 1]); } -#endif break; case AUDI_TAG: -- cgit v1.2.3