Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 479104

Summary: media-video/bombono-dvd-1.2.2 with media-video/ffmpeg-2.0 - src/mgui/ffviewer.cpp:409:32: error: 'CodecID' was not declared in this scope
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/apps/trac/bombono/ticket/99
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 476490    
Attachments: patch for ffmpeg-2

Description Helmut Jarausch 2013-07-31 09:28:40 UTC
media-video/bombono-dvd-1.2.2 doesn't build with ffmpeg-2.0 :
src/mgui/ffviewer.cpp:409:32: error: 'CodecID' was not declared in this scope
src/mgui/ffviewer.cpp:410:1: error: expected ',' or ';' before '{' token
src/mgui/ffviewer.cpp: In function 'bool OpenInfo(FFData&, const char*, FFDiagnosis&)':
src/mgui/ffviewer.cpp:553:56: error: no match for call to '(std::string {aka std::basic_string<char>}) (AVCodecID&)'
Comment 1 Helmut Jarausch 2013-08-01 12:00:40 UTC
Created attachment 354808 [details, diff]
patch for ffmpeg-2

one has to replace  CodecID  with the new AVCodecID

Probably, this patch doesn't work for older versions of ffmpeg.
(I don't known since which version the symbol AVCodecID is defined)
Comment 2 Nikoli 2014-02-17 11:51:15 UTC
Reported upstream.
Comment 3 Alexis Ballier gentoo-dev 2014-03-09 12:44:13 UTC
+  09 Mar 2014; Alexis Ballier <aballier@gentoo.org> bombono-dvd-1.2.2.ebuild,
+  +files/bombono-dvd-1.2.2-ffmpeg2.patch:
+  fix build with ffmpeg2, bug #479104, patch by Helmut Jarausch
+