Commit a9a92682 authored by Steven Liu's avatar Steven Liu Committed by Steven Liu

avformat/flv: correct the video frametype mask to 0x70

because the flv specification said the video frametype
should use value range from 0x00 to 0x70,
so use 0xF0 have no problem before support enhanced flv,
but the 0xF0 will get incorrect result after support enhanced flv,
so should set the video frametype mask 0x70 to make it correct now.
Reported-By: 's avatarflvAnalyser <hybase@qq.com>
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent ab88970f
......@@ -48,7 +48,7 @@
#define FLV_AUDIO_CODECID_MASK 0xf0
#define FLV_VIDEO_CODECID_MASK 0x0f
#define FLV_VIDEO_FRAMETYPE_MASK 0xf0
#define FLV_VIDEO_FRAMETYPE_MASK 0x70
#define AMF_END_OF_OBJECT 0x09
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment