Revision 9184d53a libavformat/mov.c

View differences:

libavformat/mov.c
861 861
                    st->codec->sample_rate = av_int2dbl(get_be64(pb)); /* float 64 */
862 862
                    st->codec->channels = get_be32(pb);
863 863
                    get_be32(pb); /* always 0x7F000000 */
864
                    get_be32(pb); /* bits per channel if sound is uncompressed */
864
                    st->codec->bits_per_sample = get_be32(pb); /* bits per channel if sound is uncompressed */
865 865
                    get_be32(pb); /* lcpm format specific flag */
866
                    get_be32(pb); /* bytes per audio packet if constant */
867
                    get_be32(pb); /* lpcm frames per audio packet if constant */
866
                    sc->bytes_per_frame = get_be32(pb); /* bytes per audio packet if constant */
867
                    sc->samples_per_frame = get_be32(pb); /* lpcm frames per audio packet if constant */
868 868
                }
869 869
            }
870 870

  

Also available in: Unified diff