vlc-2.0.4-fix-definition.patch 516 B

123456789101112
  1. --- modules/codec/dmo/dmo.c~ 2012-09-14 00:02:04.000000000 +0800
  2. +++ modules/codec/dmo/dmo.c 2012-10-16 07:10:41.145463290 +0800
  3. @@ -546,7 +546,7 @@
  4. }
  5. p_bih = &p_vih->bmiHeader;
  6. - p_bih->biCompression = i_chroma == VLC_CODEC_RGB24 ? BI_RGB : i_chroma;
  7. + p_bih->biCompression = i_chroma == VLC_CODEC_RGB24 ? 0L : i_chroma;
  8. p_bih->biHeight *= -1;
  9. p_bih->biBitCount = p_dec->fmt_out.video.i_bits_per_pixel;
  10. p_bih->biSizeImage = p_dec->fmt_in.video.i_width *