refine code, use RTMP_FMT_TYPE0 instead
refine code, use RTMP_FMT_TYPE0 instead