fix ffmpeg android build issue
Some checks failed
eden-build / source (pull_request) Has been skipped
eden-build / linux (pull_request) Successful in 24m53s
eden-build / android (pull_request) Successful in 15m18s
eden-license / license-header (pull_request_target) Failing after 14s
eden-build / windows (msvc) (pull_request) Successful in 56m7s
Some checks failed
eden-build / source (pull_request) Has been skipped
eden-build / linux (pull_request) Successful in 24m53s
eden-build / android (pull_request) Successful in 15m18s
eden-license / license-header (pull_request_target) Failing after 14s
eden-build / windows (msvc) (pull_request) Successful in 56m7s
Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
parent
1f6d012da7
commit
3c17854e05
1 changed files with 2 additions and 1 deletions
|
@ -377,10 +377,11 @@ typedef struct FFCodec {
|
||||||
const uint32_t* codec_tags;
|
const uint32_t* codec_tags;
|
||||||
} FFCodec;
|
} FFCodec;
|
||||||
|
|
||||||
|
#ifndef ANDROID
|
||||||
static av_always_inline const FFCodec* ffcodec(const AVCodec* codec) {
|
static av_always_inline const FFCodec* ffcodec(const AVCodec* codec) {
|
||||||
return (const FFCodec*)codec;
|
return (const FFCodec*)codec;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue