update BUILD.gn.

Signed-off-by: delicatedawn <1967710944@qq.com>
This commit is contained in:
delicatedawn 2024-11-12 09:07:46 +00:00 committed by Gitee
parent ee625123fd
commit bdf56421e9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -147,6 +147,7 @@ config("ffmpeg_config") {
"-DOHOS_SUBTITLE_DEMUXER",
"-DOHOS_EXPAND_MP4_INFO",
"-DOHOS_OPTIMIZE_DELAY",
"-DOHOS_AV3A_DEMUXER",
]
if (use_musl) {
cflags += [ "-Wno-bool-operation" ]
@ -1117,6 +1118,7 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/async.c",
# "//third_party/ffmpeg/libavformat/au.c",
"//third_party/ffmpeg/libavformat/av1.c",
"//third_party/ffmpeg/libavformat/av3adec.c",
"//third_party/ffmpeg/libavformat/avc.c",
"//third_party/ffmpeg/libavformat/avidec.c",
"//third_party/ffmpeg/libavformat/avio.c",