Commit 5625adfa authored by fbarchard@google.com's avatar fbarchard@google.com

Respect HAVE_JPEG and build cleanly

BUG=93
TEST=none
Review URL: https://webrtc-codereview.appspot.com/812004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@361 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 142f6c4e
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 360
Version: 361
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 360
#define LIBYUV_VERSION 361
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -1697,7 +1697,12 @@ int MJPGToI420(const uint8* sample,
// src_height is used to compute location of planes, and indicate inversion
// sample_size is measured in bytes and is the size of the frame.
// With MJPEG it is the compressed size of the frame.
int ConvertToI420(const uint8* sample, size_t sample_size,
int ConvertToI420(const uint8* sample,
#ifdef HAVE_JPEG
size_t sample_size,
#else
size_t /* sample_size */,
#endif
uint8* y, int y_stride,
uint8* u, int u_stride,
uint8* v, int v_stride,
......
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