Revision c04c3282 libavformat/audio.c

View differences:

libavformat/audio.c
217 217
    AVStream *st;
218 218
    int ret;
219 219

  
220
    if (!ap || ap->sample_rate <= 0 || ap->channels <= 0)
220
    if (ap->sample_rate <= 0 || ap->channels <= 0)
221 221
        return -1;
222 222

  
223 223
    st = av_new_stream(s1, 0);

Also available in: Unified diff