Revision 33af787d libavformat/utils.c

View differences:

libavformat/utils.c
2529 2529
        if (best_count >= st->codec_info_nb_frames)
2530 2530
            continue;
2531 2531
        best_count = st->codec_info_nb_frames;
2532
        ret = i;
2532
        ret = program ? program[i] : i;
2533 2533
        best_decoder = decoder;
2534 2534
        if (program && i == nb_streams - 1 && ret < 0) {
2535 2535
            program = NULL;

Also available in: Unified diff