Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[guilib] The output buffer of IImage::Decode should be a const pointe… #7965

Merged
merged 1 commit into from Sep 7, 2015

Conversation

ace20022
Copy link
Member

@ace20022 ace20022 commented Sep 4, 2015

…r rather than a pointer to a const value.

Found because of @Paxxi ;)

@ace20022
Copy link
Member Author

ace20022 commented Sep 5, 2015

@Paxxi ping

@MrMC
Copy link

MrMC commented Sep 5, 2015

missed a few in xbmc/cores/omxplayer/OMXImage.cpp and xbmc/cores/omxplayer/OMXImage.h

@ace20022
Copy link
Member Author

ace20022 commented Sep 6, 2015

Thx, but that's not an iimages.

jenkins build this please

@@ -42,7 +42,7 @@ class CJpegIO : public IImage
static bool CreateThumbnailFromSurface(unsigned char* buffer, unsigned int width, unsigned int height, unsigned int format, unsigned int pitch, const std::string& destFile);
void Close();
// methods for the imagefactory
virtual bool Decode(const unsigned char *pixels, unsigned int pitch, unsigned int format);
virtual bool Decode(unsigned char* const pixels, unsigned int pitch, unsigned int format);

This comment was marked as spam.

@Paxxi
Copy link
Member

Paxxi commented Sep 7, 2015

Looks good, go ahead and merge

ace20022 added a commit that referenced this pull request Sep 7, 2015
[guilib] The output buffer of IImage::Decode should be a const pointe…
@ace20022 ace20022 merged commit d06789c into xbmc:master Sep 7, 2015
@ace20022 ace20022 deleted the decode_const branch September 7, 2015 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants