[FFmpeg-cvslog] CrystalHD: fix pStride value.
sebist
git at videolan.org
Tue Apr 17 20:28:40 CEST 2012
ffmpeg | branch: master | sebist <sebok.istvan at gmail.com> | Tue Apr 17 09:29:27 2012 +0200| [e128182afd7ea32194dde837d024c5f0f8d8f6f3] | committer: Michael Niedermayer
CrystalHD: fix pStride value.
Signed-off-by: sebist <sebok.istvan at gmail.com>
Reviewed-by: Philip Langdale <philipl at overt.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e128182afd7ea32194dde837d024c5f0f8d8f6f3
---
libavcodec/crystalhd.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index 5fcb07a..2bae8f4 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;
More information about the ffmpeg-cvslog
mailing list