mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue