mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
ebf6d1d295
commit
e128182afd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user