johnf/m3u8-segmenter — Issue #18: error on debian squeezy with debian-multimedia repo
Author: kevit
Created: 2011-12-15 17:36:27+00:00
State: open

hello
i have problem with version 0.3 on debian

gcc -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -Werror m3u8-segmenter.c -o m3u8-segmenter -lavformat -lavcodec -lavutil
cc1: warnings being treated as errors
m3u8-segmenter.c: In function ‘main’:
m3u8-segmenter.c:338: error: ‘av_open_input_file’ is deprecated (declared at /usr/include/libavformat/avformat.h:1170)
m3u8-segmenter.c:387: error: ‘av_set_parameters’ is deprecated (declared at /usr/include/libavformat/avformat.h:1520)
m3u8-segmenter.c:392: error: ‘dump_format’ is deprecated (declared at /usr/include/libavformat/avformat.h:1645)
m3u8-segmenter.c:406: error: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:281)
m3u8-segmenter.c:411: error: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1578)
m3u8-segmenter.c:455: error: ‘put_flush_packet’ is deprecated (declared at /usr/include/libavformat/avio.h:295)
m3u8-segmenter.c:456: error: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:282)
m3u8-segmenter.c:476: error: ‘url_fopen’ is deprecated (declared at /usr/include/libavformat/avio.h:281)
m3u8-segmenter.c:482: error: ‘av_write_header’ is deprecated (declared at /usr/include/libavformat/avformat.h:1578)
m3u8-segmenter.c:514: error: ‘url_fclose’ is deprecated (declared at /usr/include/libavformat/avio.h:282)
make: *** [all] Error 1

libs version:
libffms2-dev (2.14-0.0)
libavformat-dev (5:0.7.8-0.1)

maybe you have .deb on amd64 arch?