Opened 11 years ago
Last modified 11 years ago
#1750 closed defect
Compilation error with newer ffmpeg version — at Initial 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
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;
Patch to check ffmpeg version