Revision 5dbb63fe ffplay.c

View differences:

ffplay.c
1974 1974
        ic->streams[i]->discard = AVDISCARD_ALL;
1975 1975
        switch(enc->codec_type) {
1976 1976
        case CODEC_TYPE_AUDIO:
1977
            if ((audio_index < 0 || wanted_audio_stream-- > 0) && !audio_disable)
1977
            if (wanted_audio_stream-- >= 0 && !audio_disable)
1978 1978
                audio_index = i;
1979 1979
            break;
1980 1980
        case CODEC_TYPE_VIDEO:
1981
            if ((video_index < 0 || wanted_video_stream-- > 0) && !video_disable)
1981
            if (wanted_video_stream-- >= 0 && !video_disable)
1982 1982
                video_index = i;
1983 1983
            break;
1984 1984
        case CODEC_TYPE_SUBTITLE:

Also available in: Unified diff