Revision d3bc61ac

View differences:

libavformat/mov.c
1120 1120
    unsigned int stss_index = 0;
1121 1121
    unsigned int i, j;
1122 1122

  
1123
    if (sc->sample_sizes || st->codec->codec_type == CODEC_TYPE_VIDEO ||
1124
        sc->audio_cid == -2) {
1123
    /* only use old uncompressed audio chunk demuxing when stts specifies it */
1124
    if (!(st->codec->codec_type == CODEC_TYPE_AUDIO &&
1125
          sc->stts_count == 1 && sc->stts_data[0].duration == 1)) {
1125 1126
        unsigned int current_sample = 0;
1126 1127
        unsigned int stts_sample = 0;
1127 1128
        unsigned int keyframe, sample_size;

Also available in: Unified diff