Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

add missing <stdint.h> to mfxparser.cpp #2998

Closed
wants to merge 1 commit into from
Closed

add missing <stdint.h> to mfxparser.cpp #2998

wants to merge 1 commit into from

Conversation

trofi
Copy link

@trofi trofi commented Nov 28, 2022

Without the change build fails on gcc-13 as:

MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp: In function 'std::string MFX::printCodecId(mfxU32)':
MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp:60:3: error: 'uint8_t' was not declared in this scope
   60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
      |   ^~~~~~~

Without the change build fails on `gcc-13` as:

    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp: In function 'std::string MFX::printCodecId(mfxU32)':
    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp:60:3: error: 'uint8_t' was not declared in this scope
       60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
          |   ^~~~~~~
Copy link
Contributor

@lwan108 lwan108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trofi trofi closed this by deleting the head repository Oct 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants