Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebist <sebok.istvan@gmail.com>2012-04-17 11:29:27 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-04-17 21:34:51 +0400
commite128182afd7ea32194dde837d024c5f0f8d8f6f3 (patch)
treed776dd5f62c4432b917cbc1ca4c4d67353fe71de /libavcodec/crystalhd.c
parentebf6d1d295debe112b990bea772f26a0441af079 (diff)
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>
Diffstat (limited to 'libavcodec/crystalhd.c')
-rw-r--r--libavcodec/crystalhd.c3
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;