From 3583eb93410a73cac8ddf291baa405005ff4c405 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Fri, 25 Mar 2011 23:06:28 -0700 Subject: CrystalHD: Remove redundant interlaced check. Signed-off-by: Philip Langdale --- libavcodec/crystalhd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/crystalhd.c') diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index aa8feadd42..3f66b96757 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); -- cgit v1.2.3