1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

CrystalHD: Remove redundant interlaced check.

Signed-off-by: Philip Langdale <philipl@overt.org>
This commit is contained in:
Philip Langdale 2011-03-25 23:06:28 -07:00
parent a1749eb3c3
commit 3583eb9341

View File

@ -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);