[FFmpeg-cvslog] avformat/sccdec: remove not needed code

Paul B Mahol git at videolan.org
Fri Sep 13 21:38:58 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep 13 19:47:03 2019 +0200| [de125a09424aa46284506e15b58c9089bce0bedf] | committer: Paul B Mahol

avformat/sccdec: remove not needed code

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

 libavformat/sccdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 412d8aaf49..399be76668 100644
--- a/libavformat/sccdec.c
+++ b/libavformat/sccdec.c
@@ -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])



More information about the ffmpeg-cvslog mailing list