summaryrefslogtreecommitdiff
path: root/libavformat/wc3movie.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wc3movie.c')
-rw-r--r--libavformat/wc3movie.c4
1 files changed, 0 insertions, 4 deletions
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: