Revision cb77dad7 libavformat/electronicarts.c

View differences:

libavformat/electronicarts.c
427 427
        ea->audio_codec = 0;
428 428
    }
429 429

  
430
    if (ea->sample_rate <= 0) {
431
        av_log(s, AV_LOG_ERROR, "Unsupported sample rate: %d\n", ea->sample_rate);
432
        ea->audio_codec = 0;
433
    }
434

  
430 435
    if (ea->audio_codec) {
431 436
        /* initialize the audio decoder stream */
432 437
        st = av_new_stream(s, 0);

Also available in: Unified diff