ffmpeg: remuxer: fix "initialization discards 'const' qualifier from pointer target type" (#80)

* ffmpeg: fix compilation on `bookworm`
* workflows: test on `bookworm`

Co-authored-by: FacuM <facumo.fm@gmail.com>
This commit is contained in:
Kamil Trzciński
2023-07-01 16:49:33 +02:00
committed by GitHub
parent 8d0c04ccd5
commit f04e9311ab
3 changed files with 12 additions and 3 deletions

View File

@ -9,6 +9,10 @@ GIT_REVISION ?= $(shell git rev-parse --short HEAD)
CFLAGS := -Werror -Wall -g -I$(CURDIR) -D_GNU_SOURCE
LDLIBS := -lpthread -lstdc++
# libdatachannel deprecations on bookworm
# error: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0
CFLAGS += -Wno-error=deprecated-declarations
ifneq (x,x$(shell which ccache))
CCACHE ?= ccache
endif