compile gst-ffmpeg error: internal compiler error: in set_jump_prob, at stmt.c:2319

这是编译ffmpeg的时候遇到的一个错误:


CC     libgstffmpeg_la-gstffmpegcodecmap.lo

gstffmpegcodecmap.c: In function 'gst_ff_aud_caps_new':

gstffmpegcodecmap.c:424:5: internal compiler error: in set_jump_prob, at stmt.c:2319

Please submit a full bug report,

with preprocessed source if appropriate.

See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

 

=========

参考:http://lists.freedesktop.org/archives/gstreamer-bugs/2011-March/075376.html

... ...

3. This code is compiled with gcc-4.4, but is not compiled with

gcc-4.5.2-6ubuntu5 due to internal compiler error.

It seems that this error begin to appear after I updated to gcc-4.5.2-6ubuntu5.

 

Anyhow, if I add 'maxchannels = 6' or 'maxchannels = 8' right below 'default:',

both gcc-4.4 and gcc-4.5.2-6ubuntu5 comples the whole code without error.

 

A patch is as follows:

 

--- a/ext/ffmpeg/gstffmpegcodecmap.c.orig       2011-03-24 02:29:40.000000000

+0900

+++ b/ext/ffmpeg/gstffmpegcodecmap.c    2011-03-24 02:08:12.000000000 +0900

@@ -444,6 +444,7 @@

         maxchannels = 8;

         break;

       default:

+       maxchannels = 6;

         break;

     }

=========

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值