Ticket #1843: patchwavpcm.diff
| File patchwavpcm.diff, 522 bytes (added by cehoyos, 7 months ago) |
|---|
-
libavformat/riff.c
diff --git a/libavformat/riff.c b/libavformat/riff.c index 1a5b414..f7d14f4 100644
a b int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc) 554 554 avio_wl32(pb, 0x00100000); 555 555 avio_wl32(pb, 0xAA000080); 556 556 avio_wl32(pb, 0x719B3800); 557 } else if (enc->codec_tag == 1 && riff_extradata == riff_extradata_start) { 558 hdrsize -= 2; 557 559 } else { 558 560 avio_wl16(pb, riff_extradata - riff_extradata_start); /* cbSize */ 559 561 }
