UINT8 *buf, int size)
UINT8 *buf, int size, int force_pts)
static int rm_write_packet(AVFormatContext *s, int stream_index,                            UINT8 *buf, int size){    if (s->streams[stream_index]->codec.codec_type ==         CODEC_TYPE_AUDIO)        return rm_write_audio(s, buf, size);    else        return rm_write_video(s, buf, size);}