Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14349] New: moc ffmpeg.c has the wrong path for include avformat.h

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14349] New: moc ffmpeg.c has the wrong path for include avformat.h
  • Date: 3 Mar 2008 02:51:16 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14349

Summary: moc ffmpeg.c has the wrong path for include avformat.h
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: audio-players
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: jevv.cr AT gmail.com


Well, it happens that after casting ffmpeg-svn, and when enabled it on moc
cast,
it fails:

ffmpeg.c:25:29: error: ffmpeg/avformat.h: No such file or directory
ffmpeg.c:41: error: expected specifier-qualifier-list before
'AVFormatParameters'
ffmpeg.c: In function 'ffmpeg_init':
ffmpeg.c:56: warning: implicit declaration of function 'av_register_all'
...

A lot of errors follow of course, :)... A performed then:

% find /usr -name avformat.h
/usr/include/libavformat/avformat.h

And it indicates that avformat.h should be find with <libavformat/avformat.h>,
so I made a patch and it worked out great.

I then modified the original spell and added the patch, re-casted moc, and
then
it worked, :)...

I'm providing the diff between the new spell and the old one, hoping the fix
gets into test eventually, :).

Thanks,

Javier.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 14349] New: moc ffmpeg.c has the wrong path for include avformat.h, bugzilla-daemon, 03/02/2008

Archive powered by MHonArc 2.6.24.

Top of Page