[FFmpeg-trac] #1843(avformat:new): wav file fmt block size could be 16 for formatid==pcm

FFmpeg trac at avcodec.org
Sat Oct 27 12:10:51 CEST 2012

#1843: wav file fmt block size could be 16 for formatid==pcm
             Reporter:  cgo         |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  wav         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by heleppkes):

 I don't know where 16 bytes comes from, the two relevant structures are

 WAVEFORMAT is 14 bytes, WAVEFORMATEX is 18.

 Maybe PCMWAVEFORMAT which is a cross between the two, measuring 16 bytes?
 Its rather unusual though.
 To write compliant files it should write a WAVEFORMATEX block with 18
 bytes, imho.

 [1] WAVEFORMAT: http://msdn.microsoft.com/en-
 [2] WAVEFORMATEX: http://msdn.microsoft.com/en-
 [3] PCMWAVEFORMAT: http://msdn.microsoft.com/en-

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1843#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list