Change WebRtc_Word8 to char
Review URL: https://webrtc-codereview.appspot.com/410001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1765 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c3a73bb182
commit
a68f05e841
@ -34,7 +34,7 @@ public:
|
|||||||
// Output:
|
// Output:
|
||||||
// - 0 : OK
|
// - 0 : OK
|
||||||
// - (-1) : Error
|
// - (-1) : Error
|
||||||
WebRtc_Word32 SetFileName(const WebRtc_Word8* fileName);
|
WebRtc_Word32 SetFileName(const char* fileName);
|
||||||
|
|
||||||
// Encode an I420 image. The encoded image is saved to a file
|
// Encode an I420 image. The encoded image is saved to a file
|
||||||
//
|
//
|
||||||
@ -49,7 +49,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
jpeg_compress_struct* _cinfo;
|
jpeg_compress_struct* _cinfo;
|
||||||
WebRtc_Word8 _fileName[256];
|
char _fileName[256];
|
||||||
};
|
};
|
||||||
|
|
||||||
class JpegDecoder
|
class JpegDecoder
|
||||||
|
@ -64,7 +64,7 @@ JpegEncoder::~JpegEncoder()
|
|||||||
|
|
||||||
|
|
||||||
WebRtc_Word32
|
WebRtc_Word32
|
||||||
JpegEncoder::SetFileName(const WebRtc_Word8* fileName)
|
JpegEncoder::SetFileName(const char* fileName)
|
||||||
{
|
{
|
||||||
if (!fileName)
|
if (!fileName)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user