Revision 588af13f libavformat/mpegts.c

View differences:

libavformat/mpegts.c
928 928

  
929 929
        add_pid_to_pmt(ts, h->id, pid);
930 930

  
931
        av_program_add_stream_index(ts->stream, h->id, st->index);
931
        ff_program_add_stream_index(ts->stream, h->id, st->index);
932 932

  
933 933
        desc_list_len = get16(&p, p_end) & 0xfff;
934 934
        if (desc_list_len < 0)
......
993 993
            p = desc_end;
994 994

  
995 995
            if (prog_reg_desc == AV_RL32("HDMV") && stream_type == 0x83 && pes->sub_st) {
996
                av_program_add_stream_index(ts->stream, h->id, pes->sub_st->index);
996
                ff_program_add_stream_index(ts->stream, h->id, pes->sub_st->index);
997 997
                pes->sub_st->codec->codec_tag = st->codec->codec_tag;
998 998
            }
999 999
        }

Also available in: Unified diff