[FFmpeg-cvslog] r14505 - trunk/libavformat/mov.c
bcoudurier
subversion
Sat Aug 2 05:40:13 CEST 2008
Author: bcoudurier
Date: Sat Aug 2 05:40:13 2008
New Revision: 14505
Log:
more complete audio stsd v2
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Sat Aug 2 05:40:13 2008
@@ -861,10 +861,10 @@ static int mov_read_stsd(MOVContext *c,
st->codec->sample_rate = av_int2dbl(get_be64(pb)); /* float 64 */
st->codec->channels = get_be32(pb);
get_be32(pb); /* always 0x7F000000 */
- get_be32(pb); /* bits per channel if sound is uncompressed */
+ st->codec->bits_per_sample = get_be32(pb); /* bits per channel if sound is uncompressed */
get_be32(pb); /* lcpm format specific flag */
- get_be32(pb); /* bytes per audio packet if constant */
- get_be32(pb); /* lpcm frames per audio packet if constant */
+ sc->bytes_per_frame = get_be32(pb); /* bytes per audio packet if constant */
+ sc->samples_per_frame = get_be32(pb); /* lpcm frames per audio packet if constant */
}
}
More information about the ffmpeg-cvslog
mailing list