Skip to content

Commit 61d7897

Browse files
committed
ffmpeg: Remove libpng dependency.
Ffmpeg doesnt have a libpng dependency. All thats needed for png support is zlib which has its own option already
1 parent 6efc8df commit 61d7897

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

ports/ffmpeg/portfile.cmake

-4
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,6 @@ else()
345345
set(OPTIONS "${OPTIONS} --disable-lzma")
346346
endif()
347347

348-
if("libpng" IN_LIST FEATURES)
349-
set(OPTIONS "${OPTIONS} --enable-decoder=png --enable-encoder=png")
350-
endif()
351-
352348
if("mp3lame" IN_LIST FEATURES)
353349
set(OPTIONS "${OPTIONS} --enable-libmp3lame")
354350
else()

ports/ffmpeg/vcpkg.json

-14
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"bzip2",
4242
"freetype",
4343
"iconv",
44-
"libpng",
4544
"lzma",
4645
"mp3lame",
4746
"openjpeg",
@@ -443,19 +442,6 @@
443442
"libilbc"
444443
]
445444
},
446-
"libpng": {
447-
"description": "PNG de/encoding via libpng",
448-
"dependencies": [
449-
{
450-
"name": "ffmpeg",
451-
"default-features": false,
452-
"features": [
453-
"zlib"
454-
]
455-
},
456-
"libpng"
457-
]
458-
},
459445
"lzma": {
460446
"description": "lzma support",
461447
"dependencies": [

0 commit comments

Comments
 (0)