Source: freerdp
Version: 1.0.2-2
Severity: normal

While rebuilding freerdp against libav 9 I've noticed the following
warnings:
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'tsmf_ffmpeg_init_context':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:57:2: warning: 
implicit declaration of function 'avcodec_alloc_context' 
[-Wimplicit-function-declarat
| ion]
|   mdecoder->codec_context = avcodec_alloc_context();
|   ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:57:26: warning: 
assignment makes pointer from integer without a cast [enabled by default]
|   mdecoder->codec_context = avcodec_alloc_context();
|                           ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'tsmf_ffmpeg_init_audio_stream':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:92:2: warning: 
'dsp_mask' is deprecated (declared at /usr/include/libavcodec/avcodec.h:2696) 
[-Wdepre
| cated-declarations]
|   mdecoder->codec_context->dsp_mask = AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2;
|   ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'tsmf_ffmpeg_prepare':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:177:2: warning: 
implicit declaration of function 'avcodec_open' 
[-Wimplicit-function-declaration]
|   if (avcodec_open(mdecoder->codec_context, mdecoder->codec) < 0)
|   ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'tsmf_ffmpeg_decode_video':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:311:3: warning: 
implicit declaration of function 'av_free' [-Wimplicit-function-declaration]
|    av_free(frame);
|    ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'tsmf_ffmpeg_decode_audio':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:375:4: warning: 
'avcodec_decode_audio3' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:
| 3608) [-Wdeprecated-declarations]
|     len = avcodec_decode_audio3(mdecoder->codec_context,
|     ^
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 
'TSMFDecoderEntry':
| /«PKGBUILDDIR»/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:502:3: warning: 
implicit declaration of function 'avcodec_init' 
[-Wimplicit-function-declaration]
|    avcodec_init();
|    ^

| dpkg-shlibdeps: warning: 
debian/libfreerdp-plugins-standard/usr/lib/x86_64-linux-gnu/freerdp/tsmf_ffmpeg.so
 contains an unresolvable reference to symbol avcodc_alloc_context: it's 
probably a plugin

This will make tsmf_ffmpeg.so unusuble once freerdp gets rebuilt for the
libav 9 transition. At least avcodec_alloc_context got removed from
libav. Since I don't know if this makes freerdp unusuble or not, I'm
filing this as severity normal bug. Please check if this problem.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to