Commit 427f9666 authored by fbarchard@google.com's avatar fbarchard@google.com

fix const correctness on mjpeg

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@229 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 8647dd75
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 228
Version: 229
License: BSD
License File: LICENSE
......
......@@ -42,7 +42,7 @@ struct SetJmpErrorMgr;
class MJpegDecoder {
public:
typedef void (*CallbackFunction)(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows);
......
......@@ -11,7 +11,7 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION 228
#define INCLUDE_LIBYUV_VERSION 229
#endif // INCLUDE_LIBYUV_VERSION_H_
......@@ -1377,7 +1377,7 @@ struct I420Buffers {
};
static void JpegCopyI420(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows) {
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
......@@ -1395,7 +1395,7 @@ static void JpegCopyI420(void* opaque,
}
static void JpegI422ToI420(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows) {
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
......@@ -1413,7 +1413,7 @@ static void JpegI422ToI420(void* opaque,
}
static void JpegI444ToI420(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows) {
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
......@@ -1431,7 +1431,7 @@ static void JpegI444ToI420(void* opaque,
}
static void JpegI411ToI420(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows) {
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
......@@ -1449,7 +1449,7 @@ static void JpegI411ToI420(void* opaque,
}
static void JpegI400ToI420(void* opaque,
const uint8** data,
const uint8* const* data,
const int* strides,
int rows) {
I420Buffers* dest = static_cast<I420Buffers*>(opaque);
......
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