Since ffmpeg-0.6.90_rc0, gnash fails to link: /var/tmp/portage/www-plugins/gnash-0.8.9/work/gnash-0.8.9/libmedia/.libs/libgnashmedia.so: undefined reference to `av_parser_parse' collect2: ld returned 1 exit status make[4]: *** [sdl-gnash] Error 1 According to the ffmpeg changelog, av_parser_parse() has been marked as deprecated. media-video herd, please advise.
Created attachment 269391 [details] ldd -r libgnashmedia.so
Created attachment 269393 [details] build.log
Created attachment 269403 [details, diff] possible fix This patch makes gnash build against ffmpeg-0.6.90_rc0. But I am not sure whether it is the correct solution.
your fix is correct but this function not being available indicates a bug in ffmpeg, I'll send a patch upstream for it (at least ffmpeg-0.6 supports av_parser_parse2, didnt check older versions)
ah, this is already fixed in git, I'll backport it and push a -r1
In ffmpeg-0.8 this was removed for good. I added patches to gnash so it no longer uses the deprecated symbols.