Revision 6a045bf3

View differences:

libavformat/mov.c
1063 1063
                get_be32(pb); /* bytes per packet */
1064 1064
                get_be32(pb); /* bytes per frame */
1065 1065
                get_be32(pb); /* bytes per sample */
1066
            } else if(version==2) {
1067
                get_be32(pb); /* sizeof struct only */
1068
                st->codec->sample_rate = av_int2dbl(get_be64(pb)); /* float 64 */
1069
                st->codec->channels = get_be32(pb);
1070
                get_be32(pb); /* always 0x7F000000 */
1071
                get_be32(pb); /* bits per channel if sound is uncompressed */
1072
                get_be32(pb); /* lcpm format specific flag */
1073
                get_be32(pb); /* bytes per audio packet if constant */
1074
                get_be32(pb); /* lpcm frames per audio packet if constant */
1066 1075
            }
1067 1076
        } else {
1068 1077
            /* other codec type, just skip (rtp, mp4s, tmcd ...) */

Also available in: Unified diff