Bug#638564: Needs to be adapted for libav/0.7.1

Moritz Muehlenhoff jmm at debian.org
Fri Aug 19 19:40:11 UTC 2011


Package: gmerlin-avdecoder
Severity: important

Hi,
the transition from ffmpeg/0.6.2 to libav/0.7 is planned soonish.
(libav is a ffmpeg fork, to which Debian will switch, see
http://en.wikipedia.org/wiki/FFmpeg for more information)

Your package currently fails to build from source when built against
libav/0.7.1 and needs to be adapted. You can test this yourself by
building against the packages from experimental:

-0.4 -g -O2 -g -O2 -Wall -g -O2 -g -O2 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c demux_ffmpeg.c  -fPIC -DPIC -o .libs/demux_ffmpeg.o
demux_ffmpeg.c:48:3: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:50) [-Wdeprecated-declarations]
demux_ffmpeg.c:102:5: warning: initialization from incompatible pointer type [enabled by default]
demux_ffmpeg.c:102:5: warning: (near initialization for 'bgav_protocol.url_write') [enabled by default]
demux_ffmpeg.c: In function 'open_ffmpeg':
demux_ffmpeg.c:586:3: warning: implicit declaration of function 'av_register_protocol' [-Wimplicit-function-declaration]
demux_ffmpeg.c:597:3: warning: 'url_fopen' is deprecated (declared at /usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]
demux_ffmpeg.c:608:3: warning: 'av_open_input_stream' is deprecated (declared at /usr/include/libavformat/avformat.h:1032) [-Wdeprecated-declarations]
demux_ffmpeg.c:632:12: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
demux_ffmpeg.c:632:12: note: each undeclared identifier is reported only once for each function it appears in
demux_ffmpeg.c:635:12: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
demux_ffmpeg.c:638:12: error: 'CODEC_TYPE_SUBTITLE' undeclared (first use in this function)
demux_ffmpeg.c:649:5: warning: 'read_seek' is deprecated (declared at /usr/include/libavformat/avformat.h:389) [-Wdeprecated-declarations]
demux_ffmpeg.c:657:10: error: 'AVFormatContext' has no member named 'title'
demux_ffmpeg.c:658:52: error: 'AVFormatContext' has no member named 'title'
demux_ffmpeg.c:659:10: error: 'AVFormatContext' has no member named 'author'
demux_ffmpeg.c:660:53: error: 'AVFormatContext' has no member named 'author'
demux_ffmpeg.c:661:10: error: 'AVFormatContext' has no member named 'copyright'
demux_ffmpeg.c:662:56: error: 'AVFormatContext' has no member named 'copyright'
demux_ffmpeg.c:663:10: error: 'AVFormatContext' has no member named 'album'
demux_ffmpeg.c:664:52: error: 'AVFormatContext' has no member named 'album'
demux_ffmpeg.c:665:10: error: 'AVFormatContext' has no member named 'genre'
demux_ffmpeg.c:666:52: error: 'AVFormatContext' has no member named 'genre'
demux_ffmpeg.c: In function 'next_packet_ffmpeg':
demux_ffmpeg.c:742:16: error: 'PKT_FLAG_KEY' undeclared (first use in this function)
make[3]: *** [demux_ffmpeg.lo] Fehler 1
make[3]: Leaving directory `/home/jmm/deb/libav/gmerlin-avdecoder-1.1.0~dfsg/lib'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/jmm/deb/libav/gmerlin-avdecoder-1.1.0~dfsg/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/jmm/deb/libav/gmerlin-avdecoder-1.1.0~dfsg'
make: *** [debian/stamp-makefile-build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
jmm at pisco:~/deb/libav/gmerlin-avdecoder-1.1.0~dfsg$


Cheers,
        Moritz


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-multimedia-maintainers mailing list