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

some macro not found when compiling #91

Open
codedigger123 opened this issue Nov 3, 2017 · 0 comments
Open

some macro not found when compiling #91

codedigger123 opened this issue Nov 3, 2017 · 0 comments

Comments

@codedigger123
Copy link

modules/videoDecoder/VideoDecoderLibav.cpp: In member function ‘bool VideoDecoderLibav::inputConfig()’:
modules/videoDecoder/VideoDecoderLibav.cpp:154:31: error: ‘CODEC_CAP_TRUNCATED’ was not declared in this scope
if (codec->capabilities & CODEC_CAP_TRUNCATED){
^
modules/videoDecoder/VideoDecoderLibav.cpp:155:28: error: ‘CODEC_FLAG_TRUNCATED’ was not declared in this scope
codecCtx->flags |= CODEC_FLAG_TRUNCATED;
^
modules/videoDecoder/VideoDecoderLibav.cpp:158:31: error: ‘CODEC_CAP_SLICE_THREADS’ was not declared in this scope
if (codec->capabilities & CODEC_CAP_SLICE_THREADS) {
^
modules/videoDecoder/VideoDecoderLibav.cpp:163:25: error: ‘CODEC_FLAG2_CHUNKS’ was not declared in this scope
codecCtx->flags2 |= CODEC_FLAG2_CHUNKS;

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

No branches or pull requests

1 participant