Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2011-03-26 09:06:28 +0300
committerPhilip Langdale <philipl@overt.org>2011-03-27 03:09:48 +0400
commit3583eb93410a73cac8ddf291baa405005ff4c405 (patch)
treeaa51bc94e672ef1a9fbd575e2e04fa8d31dc95a4 /libavcodec/crystalhd.c
parenta1749eb3c3720b33177401b45102881adfc7915e (diff)
CrystalHD: Remove redundant interlaced check.
Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/crystalhd.c')
-rw-r--r--libavcodec/crystalhd.c3
1 files changed, 1 insertions, 2 deletions
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);