[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.133,1.134
Baptiste Coudurier CVS
bcoudurier
Fri Mar 24 17:01:02 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv9141/libavformat
Modified Files:
mov.c
Log Message:
need to dissociate pcm 16bit and 8bit cases
Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- mov.c 24 Mar 2006 15:38:15 -0000 1.133
+++ mov.c 24 Mar 2006 16:01:00 -0000 1.134
@@ -1077,7 +1077,8 @@
case CODEC_ID_PCM_S16BE:
if (st->codec->bits_per_sample == 8)
st->codec->codec_id = CODEC_ID_PCM_S8;
- /* fall */
+ st->codec->bit_rate = st->codec->sample_rate * 8;
+ break;
case CODEC_ID_PCM_U8:
if (st->codec->bits_per_sample == 16)
st->codec->codec_id = CODEC_ID_PCM_S16BE;
More information about the ffmpeg-cvslog
mailing list