HI Petr,

Pulling in ffmpeg's head will almost certainly expose you to changes in the
API that we haven't caught up with yet.  Try pulling ffmpeg from 13.04's
repositories.

Robert.


On 13 March 2014 15:35, Petr Svoboda <[email protected]> wrote:

> Ok, so situation:
>
> - running on Ubuntu 13.04
> - downloaded latest OpenSceneGraph-3.2.1-rc2
> - downloaded http://git.libav.org/?p=libav.git;a=snapshot;h=HEAD;sf=tgzwhich 
> should be latest libav I suppose
>
> Then I tried to recompile OpenSceneGraph Plugins with this errors:
>
>
> Code:
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
> In function 'int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*,
> const uint8_t*, int)':
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:33:72:
> error: 'avcodec_decode_audio3' was not declared in this scope
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
> In member function 'void osgFFmpeg::FFmpegDecoderAudio::open(AVStream*)':
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:103:36:
> error: 'CODEC_ID_NONE' was not declared in this scope
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
> In function 'int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*,
> const uint8_t*, int)':
> /home/petr/Plocha/OpenSceneGraph-3.2.1-rc2/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:38:1:
> warning: control reaches end of non-void function [-Wreturn-type]
> make[2]: ***
> [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o]
> Error 1
> make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error
> 2
>
>
>
>
> Am I doing anything wrong? Should I use different version of something?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=58594#58594
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to