http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52238
--- Comment #5 from Rafaël Carré <rafael.carre at gmail dot com> 2012-02-17 00:12:49 UTC --- Second patch tested with VLC. After rebuilding gcc 4.6.2 package from Debian, mingw-w64-dev package with new gcc, and VLC including all libraries (qt4, ffmpeg etc), I got DXVA2 decoding running perfectly. Previously it would give uncorrectly decoded pictures because of different struct layout given to the GPU drivers. So it works fine for me.