#1750 closed defect (fixed)
Compilation error with newer ffmpeg version
Reported by: | ismangil | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-2.3 |
Component: | pjmedia | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by ismangil)
Newer ffmpeg version changed variable names, resulting in build error:
In file included from ../src/pjmedia/ffmpeg_util.c:26: ../src/pjmedia/ffmpeg_util.h:50:12: warning: declaration of 'enum CodecID' will not be visible outside of this function [-Wvisibility] enum CodecID *codec_id); ^ ../src/pjmedia/ffmpeg_util.h:52:47: warning: declaration of 'enum CodecID' will not be visible outside of this function [-Wvisibility] pj_status_t CodecID_to_pjmedia_format_id(enum CodecID codec_id, ^ ../src/pjmedia/ffmpeg_util.c:65:18: error: field has incomplete type 'enum CodecID' enum CodecID codec_id; ^
Reported in http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2014-March/017286.html
Attachments (1)
Change History (6)
Changed 11 years ago by ismangil
comment:1 Changed 11 years ago by ismangil
Patch attached
Version 0, edited 11 years ago
by ismangil
(next)
comment:2 Changed 11 years ago by ismangil
- Description modified (diff)
comment:3 Changed 11 years ago by ismangil
In 4801:
comment:4 Changed 11 years ago by ismangil
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 11 years ago by nanang
In 4808:
Note: See
TracTickets for help on using
tickets.
Patch to check ffmpeg version