Well that's a gcc flag AFAIK. My problem is with building the Windows
equivalent using Visual Studio - my fault for not mentioning that in
my first post.

Since the same problem occurs with my linux build when I use ffmpeg
release 5 or later I might try it because, if it works, maybe I can
find the equivalent compiler option for Visual Studio.

Thanks for the suggestion.

2009/5/8 Baptiste Coudurier <[email protected]>:
> Hi,
>
> Chris wrote:
>> Hi. I'm writing a cross platform application (Linux and Windows) to
>> decode H.264 video. On Linux I'm using Fedora 9 and building against
>> ffmpeg-devel-0.4.9-0.50.20080908.fc9.i386. On Windows I've been
>> building against the binaries at http://ffmpeg.arrozcru.org/.
>> On Linux it works fine, but on Windows I get strange colour artefacts
>> which you can see in this screenshot:
>>
>> http://yfrog.com/0qh264artifactsj
>>
>> I've tried the Windows builds numbered 16537, 15986, 15966, 13712, and
>> 13242. When I first tried to build it on Windows using 16537, I had
>> the artefacts so I decided to try earlier versions. When I tried
>> version 15986 it worked fine so I left it that. However, now the
>> artefacts have returned. I thought I might have made a mistake
>> somewhere - maybe building against the wrong version somehow - so I
>> cleaned up my build environment and tried again but I just can't get
>> it working with any of the versions.
>>
>> I did see these same artefacts on Linux when I tried building against
>> version 5.0 when it was first released. That's when I decided to build
>> against the released Fedora devel rpm and then it started working.
>>
>> Has anyone seen this effect before? Any ideas what might be causing it?
>
> Does adding --extra-cflags='-fno-common' help ?
>
> --
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer                                  http://www.ffmpeg.org
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to