[Ffmpeg-cvslog] CVS: ffmpeg/libavformat wav.c,1.51,1.52
Michael Niedermayer CVS
michael
Fri Jul 15 11:14:27 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.407, 1.408 adpcm.c, 1.27, 1.28 allcodecs.c, 1.107, 1.108
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat mmf.c, NONE, 1.1 Makefile, 1.94, 1.95 allformats.c, 1.47, 1.48 avformat.h, 1.126, 1.127
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv28626
Modified Files:
wav.c
Log Message:
Yamaha ADPCM in wav patch by (Vidar Madsen: vidarino, gmail com)
Index: wav.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/wav.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- wav.c 23 Mar 2005 12:35:27 -0000 1.51
+++ wav.c 15 Jul 2005 09:14:25 -0000 1.52
@@ -29,6 +29,7 @@
{ CODEC_ID_PCM_MULAW, 0x07 },
{ CODEC_ID_ADPCM_MS, 0x02 },
{ CODEC_ID_ADPCM_IMA_WAV, 0x11 },
+ { CODEC_ID_ADPCM_YAMAHA, 0x20 },
{ CODEC_ID_ADPCM_G726, 0x45 },
{ CODEC_ID_ADPCM_IMA_DK4, 0x61 }, /* rogue format number */
{ CODEC_ID_ADPCM_IMA_DK3, 0x62 }, /* rogue format number */
@@ -65,7 +66,7 @@
bps = 8;
} else if (enc->codec_id == CODEC_ID_MP2 || enc->codec_id == CODEC_ID_MP3) {
bps = 0;
- } else if (enc->codec_id == CODEC_ID_ADPCM_IMA_WAV || enc->codec_id == CODEC_ID_ADPCM_MS || enc->codec_id == CODEC_ID_ADPCM_G726) { //
+ } else if (enc->codec_id == CODEC_ID_ADPCM_IMA_WAV || enc->codec_id == CODEC_ID_ADPCM_MS || enc->codec_id == CODEC_ID_ADPCM_G726 || enc->codec_id == CODEC_ID_ADPCM_YAMAHA) { //
bps = 4;
} else {
bps = 16;
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.407, 1.408 adpcm.c, 1.27, 1.28 allcodecs.c, 1.107, 1.108
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat mmf.c, NONE, 1.1 Makefile, 1.94, 1.95 allformats.c, 1.47, 1.48 avformat.h, 1.126, 1.127
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list