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
This commit is contained in:
fbarchard@google.com 2012-03-28 20:03:01 +00:00
parent 8647dd755e
commit 427f966645
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 228
Version: 229
License: BSD
License File: LICENSE

View File

@ -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);

View File

@ -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_

View File

@ -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);