Bug#623797: idjc: ftbfs with libavcodec-dev from experimental
Jonathan Nieder
jrnieder at gmail.com
Sat Apr 23 06:22:21 UTC 2011
Source: idjc
Version: 0.8.5-1
Severity: important
Justification: future ftbfs
Tags: upstream patch
Hi Alessio et al,
Trying to build idjc against libavcodec-dev 4:0.7~b1-1 (from
experimental), I get compile-time errors due to the missing
CODEC_TYPE_AUDIO symbol. The patch below seems to fix it.
http://bugs.debian.org/623682 has some related details.
Thanks for keeping this package maintained well.
Regards,
Jonathan
c/avcodecdecode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/avcodecdecode.c b/c/avcodecdecode.c
index 36090ba..51dffae 100644
--- a/c/avcodecdecode.c
+++ b/c/avcodecdecode.c
@@ -232,7 +232,7 @@ int avcodecdecode_reg(struct xlplayer *xlplayer)
for(self->stream = 0; self->stream < self->ic->nb_streams; self->stream++)
{
self->c = self->ic->streams[self->stream]->codec;
- if(self->c->codec_type == CODEC_TYPE_AUDIO)
+ if(self->c->codec_type == AVMEDIA_TYPE_AUDIO)
break;
}
--
1.7.5.rc3
More information about the pkg-multimedia-maintainers
mailing list