Revision ec04d244

View differences:

libavformat/mov.c
1134 1134
    if(st->codec->codec_type==CODEC_TYPE_AUDIO && st->codec->sample_rate==0 && sc->time_scale>1) {
1135 1135
        st->codec->sample_rate= sc->time_scale;
1136 1136
    }
1137
#ifdef CONFIG_FAAD
1138
    if(st->codec->codec_id ==CODEC_ID_AAC) {
1139
        st->codec->sample_rate= 0; /* let faad init parameters properly */
1140
    }
1141
#endif
1137 1142

  
1138 1143
    return 0;
1139 1144
}

Also available in: Unified diff