Commit e128182a authored by sebist's avatar sebist Committed by Michael Niedermayer

CrystalHD: fix pStride value.

Signed-off-by: 's avatarsebist <sebok.istvan@gmail.com>
Reviewed-by: 's avatarPhilip Langdale <philipl@overt.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ebf6d1d2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment