mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-25 12:23:59 +00:00
typo in mp4 detection algorithm fixed: 'feee'->'free'
added 'wide' box to mp4 detection algorithm
This commit is contained in:
parent
4f3e5fe677
commit
3a66db200d
@ -141,7 +141,7 @@ void detect_stream_type (struct lib_ccx_ctx *ctx)
|
||||
(ctx->startbytes[i]=='m' && ctx->startbytes[i+1]=='d' &&
|
||||
ctx->startbytes[i+2]=='a' && ctx->startbytes[i+3]=='t')
|
||||
||
|
||||
(ctx->startbytes[i]=='f' && ctx->startbytes[i+1]=='e' &&
|
||||
(ctx->startbytes[i]=='f' && ctx->startbytes[i+1]=='r' &&
|
||||
ctx->startbytes[i+2]=='e' && ctx->startbytes[i+3]=='e')
|
||||
||
|
||||
(ctx->startbytes[i]=='s' && ctx->startbytes[i+1]=='k' &&
|
||||
@ -155,6 +155,9 @@ void detect_stream_type (struct lib_ccx_ctx *ctx)
|
||||
||
|
||||
(ctx->startbytes[i]=='v' && ctx->startbytes[i+1]=='o' &&
|
||||
ctx->startbytes[i+2]=='i' && ctx->startbytes[i+3]=='d')
|
||||
||
|
||||
(ctx->startbytes[i]=='w' && ctx->startbytes[i+1]=='i' &&
|
||||
ctx->startbytes[i+2]=='d' && ctx->startbytes[i+3]=='e')
|
||||
)
|
||||
{
|
||||
ctx->stream_mode=CCX_SM_MP4;
|
||||
|
Loading…
Reference in New Issue
Block a user