wc3movie: Drop unused cruft
authorDiego Biurrun <diego@biurrun.de>
Sat, 30 Jul 2016 12:11:05 +0000 (14:11 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 17 Aug 2016 10:16:42 +0000 (12:16 +0200)
libavformat/wc3movie.c

index 2d47ad4..f46b8c2 100644 (file)
@@ -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: