[FFmpeg-cvslog] wc3movie: Drop unused cruft

Diego Biurrun git at videolan.org
Sun Mar 19 17:00:00 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Jul 30 14:11:05 2016 +0200| [a4b1b5aa281cacde8351d9947b54ccf82ff10cd0] | committer: Diego Biurrun

wc3movie: Drop unused cruft

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4b1b5aa281cacde8351d9947b54ccf82ff10cd0
---

 libavformat/wc3movie.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c
index 2d47ad4..f46b8c2 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:



More information about the ffmpeg-cvslog mailing list