[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.135,1.136
Baptiste Coudurier CVS
bcoudurier
Fri Mar 24 18:03:52 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv8941/libavformat
Modified Files:
mov.c
Log Message:
let faad init parameters properly, fix many SBR samples
Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- mov.c 24 Mar 2006 16:52:56 -0000 1.135
+++ mov.c 24 Mar 2006 17:03:49 -0000 1.136
@@ -1134,6 +1134,11 @@
if(st->codec->codec_type==CODEC_TYPE_AUDIO && st->codec->sample_rate==0 && sc->time_scale>1) {
st->codec->sample_rate= sc->time_scale;
}
+#ifdef CONFIG_FAAD
+ if(st->codec->codec_id ==CODEC_ID_AAC) {
+ st->codec->sample_rate= 0; /* let faad init parameters properly */
+ }
+#endif
return 0;
}
More information about the ffmpeg-cvslog
mailing list