[FFmpeg-devel] [PATCH] let the ffpcm set sample_fmt for wav audio streams

Jai Menon jmenon86
Thu Nov 26 13:13:28 CET 2009


All the 24bit PCM WAV files I have show the wrong sample_fmt. Would it
be okay if we let the decoder set correct sample_fmt instead of the
default s16. Attached patch is more or less what I mean. Please tell
me if I'm missing something, or if there is a better way to show
correct stream info.

Jai Menon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_fmt_wav.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091126/fb2fbb37/attachment.bin>

More information about the ffmpeg-devel mailing list