[Ffmpeg-devel] Re: [PATCH] closed gop flag change

Michael Niedermayer michaelni
Fri Jun 9 12:40:21 CEST 2006


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list