summaryrefslogtreecommitdiff
path: root/libavformat/wc3movie.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-30 14:11:05 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commita4b1b5aa281cacde8351d9947b54ccf82ff10cd0 (patch)
tree29149da327c8123b59e10047510e79ff513f5a04 /libavformat/wc3movie.c
parent17cb56b35672a2cd6ad7abe926e6cc772b8f4710 (diff)
downloadffmpeg-a4b1b5aa281cacde8351d9947b54ccf82ff10cd0.tar.gz
wc3movie: Drop unused cruft
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: