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

Fix system ffmpeg integration for Linux OSes. #7959

Closed
wants to merge 1 commit into from

Conversation

DistantThunder
Copy link

Issue: #7955

It finally occured to me that it the "old_pix_fmts.h" header file didn't exist in the upstream FFMPEG source and that it was there that the old variable names that ppsspp use were defined.

This pull allows for proper compilation when using the local system ffmpeg libraries. It would fail otherwise, throwing something allong the lines of:

ppsspp/Core/HLE/sceMpeg.cpp:776:21: error: ‘PIX_FMT_RGBA’ was not declared in this scope
  pmp_want_pix_fmt = PIX_FMT_RGBA;
                     ^
ppsspp/Core/HLE/sceMpeg.cpp:779:45: error: ‘CODEC_ID_H264’ was not declared in this scope
  AVCodec * pmp_Codec = avcodec_find_decoder(CODEC_ID_H264);

@hrydgard
Copy link
Owner

Trying a simpler alternative: 33c3963

Does that solve the problem?

@hrydgard hrydgard closed this Sep 12, 2015
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

2 participants