1. 22 Sep, 2022 1 commit
    • Eric Pouech's avatar
      avifil32: Fix GCC 12.2 warning (-Warray-bounds). · 52a83ffe
      Eric Pouech authored
      Since struct _IAVIStreamImpl has a pointer to a WAVEFORMATEX,
      GCC 12.2 emits warning when dereferencing that pointer when
      the block has been allocated with sizeof(PCMWAVEFORMAT).
      
      The warning is fixed by always allocating with sizeof(WAVEFORMATEX).
      This will overallocate in case of a PCM stream.
      
      The alternative would have been to store in struct _IAVIStreamImpl
      a pointer to PCMWAVEFORMAT instead, and add the casting to a
      WAVEFORMATEX when needed. That would clutter the code IMO since most
      of the ACM APIs expect a LPWAVEFORMATEX.
      
      /home/eric/work/wine/dlls/avifil32/acmstream.c: In function 'AVIFILE_OpenCompressor':
      /home/eric/work/wine/dlls/avifil32/acmstream.c:105:24: warning: array subscript 'struct tWAVEFORMATEX[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
        105 |       This->lpOutFormat->wFormatTag = WAVE_FORMAT_PCM;
            |                        ^~
      /home/eric/work/wine/dlls/avifil32/acmstream.c:101:27: note: object of size 16 allocated by 'HeapAlloc'
        101 |       This->lpOutFormat = HeapAlloc(GetProcessHeap(), 0, This->cbOutFormat);
            |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com>
      52a83ffe
  2. 08 Feb, 2022 1 commit
  3. 20 Mar, 2015 1 commit
  4. 21 Jun, 2012 1 commit
  5. 12 Jan, 2011 2 commits
  6. 18 Oct, 2008 1 commit
  7. 12 Mar, 2008 1 commit
  8. 03 Jan, 2008 1 commit
  9. 23 Apr, 2007 1 commit
  10. 24 Oct, 2006 1 commit
  11. 10 Oct, 2006 1 commit
  12. 13 Jun, 2006 1 commit
  13. 23 May, 2006 1 commit
  14. 12 Apr, 2006 1 commit
  15. 11 Apr, 2006 1 commit
  16. 13 Mar, 2006 1 commit
  17. 04 Mar, 2006 1 commit
  18. 12 Sep, 2005 1 commit
  19. 05 Jul, 2005 1 commit
  20. 27 May, 2005 1 commit
  21. 14 Jan, 2005 1 commit
  22. 12 Jan, 2005 1 commit
  23. 05 Oct, 2004 1 commit
  24. 06 Sep, 2004 1 commit
  25. 02 Sep, 2004 1 commit
  26. 23 Aug, 2004 1 commit
  27. 12 Aug, 2004 2 commits
  28. 14 Oct, 2003 1 commit
  29. 05 Sep, 2003 1 commit
  30. 23 Jun, 2003 1 commit
    • Michael Günnewig's avatar
      - Fixed some signed/unsigned mismatches. · 9f67cfef
      Michael Günnewig authored
      - Fixed bugs in AVISaveOptions dialog handling.
      - Fixed bug in AVIFILE_LoadFile -- now check for more than
        MAX_AVISTREAMS streams in file.
      - Implemented AVIMakeFileFromStreams and AVISaveVA method.
      - Added IAVIEditStream interface.
      - Implemented EditStream* methods.
      - Added stubs for AVISaveVW, CreateEditableStream.
      - Added stubs for clipboard handling.
      9f67cfef
  31. 13 May, 2003 1 commit
  32. 10 Apr, 2003 1 commit
  33. 03 Jan, 2003 1 commit
  34. 02 Dec, 2002 1 commit
  35. 21 Oct, 2002 1 commit