"Ronald S. Bultje" <rsbul...@gmail.com> writes: > Hi, > > On Thu, Jun 14, 2012 at 4:09 PM, Jean-Baptiste Kempf <j...@videolan.org> > wrote: >> On Thu, Jun 14, 2012 at 04:05:40PM -0700, Ronald S. Bultje wrote : >>> > This should break every mingw compilation. >>> >>> Why? Is the header un-mingw'y? >> >> AFAIK, no Mingw installation has it. >> >> Especially since dxva.h is about DxVA, and libavcodec uses DxVA2. > > dxva.h on MSVC defines basic structs like DXVA_PicParams, which are > required by our dxva implementations. How do I distinguish between the > two versions so I know whether two include <dxva.h> or not?
Would adding a configure check for dxva.h and including it conditionally work everywhere? -- Måns Rullgård m...@mansr.com _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel