diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index 642dcbbf7e..d8fc18eb5f 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -242,9 +242,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 { @@ -262,7 +259,6 @@ static int wc3_read_packet(AVFormatContext *s, return AVERROR_INVALIDDATA; av_log (s, AV_LOG_DEBUG, " fronsay: %s\n", &text[i + 1]); } -#endif break; case AUDI_TAG: