[Ffmpeg-devel] Re: [PATCH] closed gop flag change
Baptiste Coudurier
baptiste.coudurier
Fri Jun 9 15:11:23 CEST 2006
Michael Niedermayer wrote:
> Hi
>
> On Fri, Jun 09, 2006 at 10:46:10AM +0200, Baptiste Coudurier wrote:
>> Hi
>>
>> Michael Niedermayer wrote:
>>> [...]
>>>
>>> replace
>>> #define CODEC_FLAG_CLOSED_GOP 0x80000000
>>> with
>>> ((int)0x80000000) or equivalent
>>>
>> It does work indeed, may I ask what is the reason ?
>
> default_val in AVOption is a double flags in AVCodecContext is an int
> (double)0x80000000 != (int)0x80000000 in gcc
>
> [...]
>
Ok, changed it to ((int)0x80000000).
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list