1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-02 17:12:49 +02:00

CrystalHD: fix pStride value.

Signed-off-by: sebist <sebok.istvan@gmail.com>
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
sebist 2012-04-17 09:29:27 +02:00 committed by Michael Niedermayer
parent ebf6d1d295
commit e128182afd

View File

@ -656,8 +656,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
pStride = 720; pStride = 720;
else if (width <= 1280) else if (width <= 1280)
pStride = 1280; pStride = 1280;
else if (width <= 1080) else pStride = 1920;
pStride = 1080;
sStride = av_image_get_linesize(avctx->pix_fmt, pStride, 0); sStride = av_image_get_linesize(avctx->pix_fmt, pStride, 0);
} else { } else {
sStride = bwidth; sStride = bwidth;