]> git.sesse.net Git - ffmpeg/commitdiff
avformat/sccdec: remove not needed code
authorPaul B Mahol <onemda@gmail.com>
Fri, 13 Sep 2019 17:47:03 +0000 (19:47 +0200)
committerPaul B Mahol <onemda@gmail.com>
Fri, 13 Sep 2019 17:47:03 +0000 (19:47 +0200)
libavformat/sccdec.c

index 412d8aaf49e557265992f92adf81e4a8c291ccca..399be76668b6227e509f7bbb53532f2cd43b8671 100644 (file)
@@ -140,7 +140,6 @@ try_again:
         sub->duration = FFMAX(1200, ts_end - ts_start);
         memmove(line, line2, sizeof(line));
         line2[0] = 0;
-        FFSWAP(ptrdiff_t, len, len2);
     }
 
     if (line[0])