mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
spa: ffmpeg: remove libavformat dependency
`av_register_all()` is the only thing used from libavformat, but that doesn't seem to be needed for codec enumeration, so remove it, and call `avcodec_register_all()` instead when libavcodec < 58.10.100.
This commit is contained in:
parent
3f567eeb56
commit
3baf3fcfec
4 changed files with 5 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ if not get_option('audiotestsrc').disabled()
|
|||
subdir('audiotestsrc')
|
||||
endif
|
||||
subdir('bluez5')
|
||||
if avcodec_dep.found() and avformat_dep.found()
|
||||
if avcodec_dep.found()
|
||||
subdir('ffmpeg')
|
||||
endif
|
||||
if jack_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue