diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index 5fcb07a633..2bae8f4881 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -656,8 +656,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx, pStride = 720; else if (width <= 1280) pStride = 1280; - else if (width <= 1080) - pStride = 1080; + else pStride = 1920; sStride = av_image_get_linesize(avctx->pix_fmt, pStride, 0); } else { sStride = bwidth;