Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668086

Summary: media-libs/mediastreamer-2.9.0-r2: videofilters/videodec.c:646:21: error: ‘AV_CODEC_ID_SNOW’ undeclared
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2018-10-08 20:35:28 UTC
Created attachment 550020 [details]
build.log

Fails to build with USE="libav" against media-video/libav-12.2.

[...]
libtool: compile:  powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DPACKAGE_PLUGINS_DIR=\"/usr/lib/mediastreamer/plugins\" -DLOCALEDIR=\"/usr/share/locale\" -DMS2_INTERNAL -DMS2_FILTERS -I. -I.. -I../include/ -I.
./src/base -I../src/utils -I../src/voip -I../src/audiofilters -I../src/otherfilters -I../src/videofilters -D_REENTRANT -DORTP_INET6 -DORTP_BIGENDIAN -D_REENTRANT -DVIDEO_ENABLED -D_GNU_SOURCE=1 -D_REENTRANT -I/u
sr/include/SDL -DHAVE_SDL -DHAVE_GL -DHAVE_XV -I/usr/include/libdrm -DORTP_INET6 -O2 -mcpu=powerpc -pipe -DINET6 -Wall -fdiagnostics-show-option -D_BIGENDIAN -pthread -D_REENTRANT -c audiofilters/speexec.c -o au
diofilters/speexec.o >/dev/null 2>&1
videofilters/videoenc.c: In function ‘__register_ffmpeg_encoders_if_possible’:
videofilters/videoenc.c:1089:27: error: ‘AV_CODEC_ID_SNOW’ undeclared (first use in this function); did you mean ‘AV_CODEC_ID_SRT’?
  if (avcodec_find_encoder(AV_CODEC_ID_SNOW))
                           ^~~~~~~~~~~~~~~~
                           AV_CODEC_ID_SRT
videofilters/videodec.c: In function ‘dec_snow_init’:
videofilters/videodec.c:92:13: error: ‘AV_CODEC_ID_SNOW’ undeclared (first use in this function); did you mean ‘AV_CODEC_ID_SRT’?
  dec_init(f,AV_CODEC_ID_SNOW);
             ^~~~~~~~~~~~~~~~
             AV_CODEC_ID_SRT
videofilters/videodec.c:92:13: note: each undeclared identifier is reported only once for each function it appears in
videofilters/videodec.c: In function ‘dec_preprocess’:
videofilters/videodec.c:137:17: error: ‘AV_CODEC_ID_SNOW’ undeclared (first use in this function); did you mean ‘AV_CODEC_ID_SRT’?
   if (s->codec!=AV_CODEC_ID_SNOW){
                 ^~~~~~~~~~~~~~~~
                 AV_CODEC_ID_SRT
make[3]: *** [Makefile:1318: videofilters/videoenc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 ernsteiswuerfel archtester 2018-10-08 20:36:19 UTC
Created attachment 550022 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2018-10-09 08:12:35 UTC

*** This bug has been marked as a duplicate of bug 654484 ***