Revision 30a43f2d libavformat/rm.c

View differences:

libavformat/rm.c
982 982
        if(flags&2){
983 983
            pkt->flags |= PKT_FLAG_KEY;
984 984
            if((seq&0x7F) == 1)
985
                av_add_index_entry(st, pos, timestamp, 0, AVINDEX_KEYFRAME);
985
                av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME);
986 986
        }
987 987
    }
988 988

  
......
1054 1054

  
1055 1055
        if((flags&2) && (seq&0x7F) == 1){
1056 1056
//            av_log(s, AV_LOG_DEBUG, "%d %d-%d %Ld %d\n", flags, stream_index2, stream_index, dts, seq);
1057
            av_add_index_entry(st, pos, dts, 0, AVINDEX_KEYFRAME);
1057
            av_add_index_entry(st, pos, dts, 0, 0, AVINDEX_KEYFRAME);
1058 1058
            if(stream_index2 == stream_index)
1059 1059
                break;
1060 1060
        }

Also available in: Unified diff