fixed svace issues 79/161879/1 accepted/tizen/unified/20171130.063423 submit/tizen/20171129.075133
authorSejun Park <sejun79.park@samsung.com>
Tue, 28 Nov 2017 05:38:19 +0000 (14:38 +0900)
committerSejun Park <sejun79.park@samsung.com>
Tue, 28 Nov 2017 05:38:19 +0000 (14:38 +0900)
Change-Id: I3749d039a5c2594e41d656b255a82babf3bbe1f4

packaging/gst-plugins-video-dec.spec
src/decoder.c

index 47419fa..0026ee6 100644 (file)
@@ -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
index 2a7a95c..0cde942 100644 (file)
@@ -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;
     }
   }