[Ffmpeg-devel] [PATCH] small fixes ifdef/missing define

Måns Rullgård mru
Thu Jul 6 12:03:27 CEST 2006


Gianluigi Tiesi said:
> On Wed, Jul 05, 2006 at 09:46:22PM +0200, Michael Niedermayer wrote:
>> Hi
>>
>> On Wed, Jul 05, 2006 at 07:54:23PM +0200, Gianluigi Tiesi wrote:
>> > I had some little glitches compiling ffmpeg as part of mplayer on mingw,
>> > here are 2 patches:
>> >
>> > http://oss.netfarm.it/mplayer/patches/xx_libavcodec_ifdef.diff
>> > fixes wav.c compilation if CONFIG_MUXERS is not defined
>>
>> ok
>>
>>
>> >
>> > http://oss.netfarm.it/mplayer/patches/xx_libavcodec_lost_sbutterfly.diff
>> > dunno if same problem on unix but on mingw SBUTTERFLY does get defined
>> > in h264dsp_mmx.c
>>
>> rejected, its in dsputil and h264dsp is #incldued after the #define
>>
> I suspected it was a mingw related issue, since no one noticed
> it on unix, I'll investigate further.

The definition in dsputil_mmx.c was under #ifdef CONFIG_ENCODERS, but for
some reason or other, CONFIG_ENCODERS was always set.  I've fixed both of
these problems.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list