diff options
author | sebist <sebok.istvan@gmail.com> | 2012-04-17 09:29:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-17 19:34:51 +0200 |
commit | e128182afd7ea32194dde837d024c5f0f8d8f6f3 (patch) | |
tree | d776dd5f62c4432b917cbc1ca4c4d67353fe71de | |
parent | ebf6d1d295debe112b990bea772f26a0441af079 (diff) | |
download | ffmpeg-e128182afd7ea32194dde837d024c5f0f8d8f6f3.tar.gz |
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>
-rw-r--r-- | libavcodec/crystalhd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index 5fcb07a633..2bae8f4881 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -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; |