Your message dated Sat, 25 Oct 2025 18:08:22 +0200
with message-id <[email protected]>
and subject line Fixed in 1.1.2-1.1
has caused the Debian Bug report #1081024,
regarding fix compilation of janus against ffmpeg 7
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1081024: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081024
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: janus
Version: 1.1.2-1
The source code of janus is incompatible with the current version of FFmpeg 7,
leading to a crash when trying to compile against it.
The attached patch fixes the issues, allowing successful compilation.
I am using Ubuntu 24.04 and Debian Unstable.
diff -Nru janus-gateway-1.1.2.orig/src/postprocessing/pp-avformat.c
janus-gateway-1.1.2/src/postprocessing/pp-avformat.c
--- janus-gateway-1.1.2.orig/src/postprocessing/pp-avformat.c 2023-01-17
09:36:18
+++ janus-gateway-1.1.2/src/postprocessing/pp-avformat.c 2024-09-06
21:41:39
@@ -64,7 +64,7 @@
c->codec_id = codec_id;
c->codec_type = AVMEDIA_TYPE_AUDIO;
c->sample_rate = samplerate;
- c->channels = channels;
+ c->ch_layout.nb_channels = channels;
if(extradata) {
c->extradata_size = size;
c->extradata = av_memdup(extradata, size);
diff -Nru janus-gateway-1.1.2.orig/src/postprocessing/pp-g722.c
janus-gateway-1.1.2/src/postprocessing/pp-g722.c
--- janus-gateway-1.1.2.orig/src/postprocessing/pp-g722.c 2023-01-17
09:36:18
+++ janus-gateway-1.1.2/src/postprocessing/pp-g722.c 2024-09-06 21:31:22
@@ -212,7 +212,7 @@
int data_size =
av_get_bytes_per_sample(dec_ctx->sample_fmt);
int i=0, ch=0;
for(i=0; i<frame->nb_samples; i++) {
- for(ch=0; ch<dec_ctx->channels; ch++) {
+ for(ch=0;
ch<dec_ctx->ch_layout.nb_channels; ch++) {
fwrite(frame->data[ch] +
data_size*i, 1, data_size, wav_file);
}
}
--- End Message ---
--- Begin Message ---
Version: 1.1.2-1.1
A patch to fix compilation with ffmpeg 7 was added in version 1.1.2-1.1
and that version closed bug #1072424, but not this one.
They're both about compatibility with ffmpeg 7, so close this bug as well.
signature.asc
Description: PGP signature
--- End Message ---