mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, add the video tag comments.
This commit is contained in:
parent
26bfbaeb82
commit
7945a42770
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue