refine code, add the video tag comments.
This commit is contained in:
parent
26bfbaeb82
commit
7945a42770
|
|
@ -331,6 +331,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @see: E.4.3 Video Tags, video_file_format_spec_v10_1.pdf, page 78
|
||||||
int8_t frame_type = stream->read_1bytes();
|
int8_t frame_type = stream->read_1bytes();
|
||||||
int8_t codec_id = frame_type & 0x0f;
|
int8_t codec_id = frame_type & 0x0f;
|
||||||
frame_type = (frame_type >> 4) & 0x0f;
|
frame_type = (frame_type >> 4) & 0x0f;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user