Browse Source

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>
tags/n0.11
sebist Michael Niedermayer 14 years ago
parent
commit
e128182afd
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/crystalhd.c

+ 1
- 2
libavcodec/crystalhd.c View File

@@ -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…
Cancel
Save