bugGnash - The GNU Flash player - Bugs: bug #32928, Ffmpeg: Compiler warnings

 
 

bug #32928: Ffmpeg: Compiler warnings

Submitted by:  None
Submitted on:  Sun 27 Mar 2011 03:20:17 PM UTC  
 
Category: video-ffmpegSeverity: 3 - Normal
Release: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 27 Mar 2011 04:00:34 PM UTC, comment #3:

libavcodec52-0.6.201103092102git

$ cat /usr/include/libavcodec/avcodec.h | grep "LIBAVCODEC_VERSION_"
#define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 113
#define LIBAVCODEC_VERSION_MICRO 2
[...]

Btw. you can see the build log (including installed packages) here:
http://pmbs.links2linux.org/package/rawlog?arch=x86_64&package=gnash&project=Extra&repository=openSUSE_11.4

Anonymous
Sun 27 Mar 2011 03:40:12 PM UTC, comment #2:

which version of ffmpeg is this, btw ? We're interested in LIBAVCODEC_VERSION_*

Sandro Santilli <strk>
Project Member
Sun 27 Mar 2011 03:31:24 PM UTC, comment #1:

The title/metadata etc. we don't even use, if not for printing DEBUG lines.

Sandro Santilli <strk>
Project Member
Sun 27 Mar 2011 03:20:17 PM UTC, original submission:

CXX libgnashmedia_la-MediaParserFfmpeg.lo
In file included from ffmpeg/MediaParserFfmpeg.cpp:21:0:
ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:366)
In file included from ffmpeg/MediaHandlerFfmpeg.cpp:26:0:
ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:366)
ffmpeg/MediaParserFfmpeg.cpp: In member function 'void gnash::media::ffmpeg::MediaParserFfmpeg::initializeParser()':
ffmpeg/MediaParserFfmpeg.cpp:370:5: warning: 'int init_put_byte(AVIOContext, unsigned char, int, int, void, int ()(void, uint8_t, int), int ()(void, uint8_t, int), int64_t ()(void*, int64_t, int))' is deprecated (declared at /usr/include/libavformat/avio.h:368)
ffmpeg/MediaParserFfmpeg.cpp:378:5: warning: 'int init_put_byte(AVIOContext, unsigned char, int, int, void, int ()(void, uint8_t, int), int ()(void, uint8_t, int), int64_t ()(void*, int64_t, int))' is deprecated (declared at /usr/include/libavformat/avio.h:368)
ffmpeg/MediaParserFfmpeg.cpp:391:22: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:705)
ffmpeg/MediaParserFfmpeg.cpp:391:22: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:705)
ffmpeg/MediaParserFfmpeg.cpp:392:50: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:705)
ffmpeg/MediaParserFfmpeg.cpp:392:50: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:705)
ffmpeg/MediaParserFfmpeg.cpp:393:22: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:706)
ffmpeg/MediaParserFfmpeg.cpp:393:22: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:706)
ffmpeg/MediaParserFfmpeg.cpp:394:51: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:706)
ffmpeg/MediaParserFfmpeg.cpp:394:51: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:706)
ffmpeg/MediaParserFfmpeg.cpp:395:22: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:707)
ffmpeg/MediaParserFfmpeg.cpp:395:22: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:707)
ffmpeg/MediaParserFfmpeg.cpp:396:54: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:707)
ffmpeg/MediaParserFfmpeg.cpp:396:54: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:707)
ffmpeg/MediaParserFfmpeg.cpp:397:22: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:708)
ffmpeg/MediaParserFfmpeg.cpp:397:22: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:708)
ffmpeg/MediaParserFfmpeg.cpp:398:52: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:708)
ffmpeg/MediaParserFfmpeg.cpp:398:52: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:708)
ffmpeg/MediaParserFfmpeg.cpp:399:22: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:709)
ffmpeg/MediaParserFfmpeg.cpp:399:22: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:709)
ffmpeg/MediaParserFfmpeg.cpp:400:50: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:709)
ffmpeg/MediaParserFfmpeg.cpp:400:50: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:709)
CXX libgnashmedia_la-AudioDecoderFfmpeg.lo
In file included from ffmpeg/AudioDecoderFfmpeg.cpp:25:0:
ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:366)
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)':
ffmpeg/AudioDecoderFfmpeg.cpp:552:15: warning: 'int avcodec_decode_audio2(AVCodecContext, int16_t, int, const uint8_t, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3711)
ffmpeg/AudioDecoderFfmpeg.cpp:553:52: warning: 'int avcodec_decode_audio2(AVCodecContext, int16_t, int, const uint8_t, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3711)
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'int gnash::media::ffmpeg::AudioDecoderFfmpeg::parseInput(const uint8_t, uint32_t, const uint8_t, int)':
ffmpeg/AudioDecoderFfmpeg.cpp:661:16: warning: 'int av_parser_parse(AVCodecParserContext, AVCodecContext, uint8_t*, int, const uint8_t*, int, int64_t, int64_t)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4097)
ffmpeg/AudioDecoderFfmpeg.cpp:667:25: warning: 'int av_parser_parse(AVCodecParserContext, AVCodecContext, uint8_t*, int, const uint8_t*, int, int64_t, int64_t)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4097)
CXX libgnashmedia_la-VideoDecoderFfmpeg.lo
In file included from ffmpeg/VideoDecoderFfmpeg.cpp:31:0:
ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:366)
ffmpeg/VideoDecoderFfmpeg.cpp: In member function 'std::auto_ptr<gnash::image::GnashImage> gnash::media::ffmpeg::VideoDecoderFfmpeg::frameToImage(AVCodecContext*, const AVFrame&)':
ffmpeg/VideoDecoderFfmpeg.cpp:276:13: warning: 'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter, SwsFilter, const double*)' is deprecated (declared at /usr/include/libswscale/swscale.h:191)
ffmpeg/VideoDecoderFfmpeg.cpp:277:55: warning: 'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter, SwsFilter, const double*)' is deprecated (declared at /usr/include/libswscale/swscale.h:191)
ffmpeg/VideoDecoderFfmpeg.cpp: In member function 'std::auto_ptr<gnash::image::GnashImage> gnash::media::ffmpeg::VideoDecoderFfmpeg::decode(const uint8_t*, uint32_t)':
ffmpeg/VideoDecoderFfmpeg.cpp:359:5: warning: 'int avcodec_decode_video(AVCodecContext, AVFrame, int, const uint8_t, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3773)
ffmpeg/VideoDecoderFfmpeg.cpp:360:30: warning: 'int avcodec_decode_video(AVCodecContext, AVFrame, int, const uint8_t, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3773)
CXX libgnashmedia_la-AudioResamplerFfmpeg.lo
ffmpeg/AudioResamplerFfmpeg.cpp: In member function 'bool gnash::media::ffmpeg::AudioResamplerFfmpeg::init(AVCodecContext*)':
ffmpeg/AudioResamplerFfmpeg.cpp:49:18: warning: 'ReSampleContext* audio_resample_init(int, int, int, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3222)
ffmpeg/AudioResamplerFfmpeg.cpp:51:2: warning: 'ReSampleContext* audio_resample_init(int, int, int, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3222)
CXX libgnashmedia_la-VideoConverterFfmpeg.lo
ffmpeg/VideoConverterFfmpeg.cpp: In member function 'virtual std::auto_ptr<gnash::media::ImgBuf> gnash::media::ffmpeg::VideoConverterFfmpeg::convert(const gnash::media::ImgBuf&)':
ffmpeg/VideoConverterFfmpeg.cpp:148:49: warning: 'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter, SwsFilter, const double*)' is deprecated (declared at /usr/include/libswscale/swscale.h:191)
ffmpeg/VideoConverterFfmpeg.cpp:150:17: warning: 'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter, SwsFilter, const double*)' is deprecated (declared at /usr/include/libswscale/swscale.h:191)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1