From: Sejun Park Date: Tue, 28 Nov 2017 05:38:19 +0000 (+0900) Subject: fixed svace issues X-Git-Tag: submit/tizen/20171129.075133^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=862848bc364ebd9898f3cbf96ad48ec6961f7d93;p=platform%2Fadaptation%2Fnexell%2Fgst-plugins-video-dec.git fixed svace issues Change-Id: I3749d039a5c2594e41d656b255a82babf3bbe1f4 --- diff --git a/packaging/gst-plugins-video-dec.spec b/packaging/gst-plugins-video-dec.spec index 47419fa..0026ee6 100644 --- a/packaging/gst-plugins-video-dec.spec +++ b/packaging/gst-plugins-video-dec.spec @@ -1,6 +1,6 @@ Name: gst-plugins-video-dec Version: 1.0.3 -Release: 2 +Release: 3 License: LGPLv2+ Summary: nexell video decoder gstreamer plugin Group: Development/Libraries diff --git a/src/decoder.c b/src/decoder.c index 2a7a95c..0cde942 100644 --- a/src/decoder.c +++ b/src/decoder.c @@ -445,12 +445,12 @@ CopyImageToBufferYV12 (uint8_t * pSrcY, uint8_t * pSrcU, uint8_t * pSrcV, } else { for (i = 0; i < height; i++) { memcpy (pDst, pSrcU, width); - pSrcY += strideY; + pSrcU += strideUV; pDst += width; } for (i = 0; i < height; i++) { memcpy (pDst, pSrcV, width); - pSrcY += strideY; + pSrcV += strideUV; pDst += width; } }