if ( trav->timestamp >= frame->timestamp ) {
if ( trav->timestamp > frame->timestamp) {
static void InsertSorted(FLVContext *flv, FLVFrame *frame){    if ( !flv->frames ) {        flv->frames = frame;    } else {        FLVFrame *trav = flv->frames;        FLVFrame *prev = 0;        for (;trav;) {            if ( trav->timestamp >= frame->timestamp ) {                frame->next = trav;                if ( prev ) {                    prev->next = frame;                } else {                    flv->frames = frame;                }                break;            }            prev = trav;            trav = trav->next;        }        if ( !trav ) {            prev->next = frame;        }    }}