Commit 720e3a24 authored by fbarchard@google.com's avatar fbarchard@google.com

In Q420ToI420 the variable halfheight is initialized but not used. Change it to…

In Q420ToI420 the variable halfheight is initialized but not used.  Change it to instantiate the variable but do not initialize it.  It will be assigned conditionally later.  This warning raised in xcode.
BUG=353
TESTED=local build still works
R=harryjin@google.com, noahric@chromium.org

Review URL: https://webrtc-codereview.appspot.com/13299004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1053 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 50a2da0c
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1052
Version: 1053
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1052
#define LIBYUV_VERSION 1053
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -401,7 +401,7 @@ int Q420ToI420(const uint8* src_y, int src_stride_y,
uint8* dst_v, int dst_stride_v,
int width, int height) {
int y;
int halfheight = (height + 1) >> 1;
int halfheight;
void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C;
void (*YUY2ToUV422Row)(const uint8* src_yuy2, uint8* dst_u, uint8* dst_v,
int pix) = YUY2ToUV422Row_C;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment