[FFmpeg-cvslog] CrystalHD: Remove redundant interlaced check.

Philip Langdale git at videolan.org
Sun Mar 27 00:10:37 CET 2011


ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Fri Mar 25 23:06:28 2011 -0700| [3583eb93410a73cac8ddf291baa405005ff4c405] | committer: Philip Langdale

CrystalHD: Remove redundant interlaced check.

Signed-off-by: Philip Langdale <philipl at overt.org>

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

 libavcodec/crystalhd.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index aa8fead..3f66b96 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -597,8 +597,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
 
         for (sY = 0; sY < height; dY++, sY++) {
             memcpy(&(dst[dY * dStride]), &(src[sY * sStride]), bwidth);
-            if (interlaced)
-                dY++;
+            dY++;
         }
     } else {
         av_image_copy_plane(dst, dStride, src, sStride, bwidth, height);




More information about the ffmpeg-cvslog mailing list