isom: no extradata in a mp4 descriptor is not an error
This commit is contained in:
parent
950af456d7
commit
03cf9aab49
|
@ -349,6 +349,8 @@ int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, AVIOContext
|
|||
for MPEG-1 Audio or MPEG-2 Audio; MPEG-2 AAC excluded. */
|
||||
if (object_type_id == 0x69 || object_type_id == 0x6b)
|
||||
return 0;
|
||||
if (!len)
|
||||
return 0;
|
||||
if (!len || (uint64_t)len > (1<<30))
|
||||
return AVERROR_INVALIDDATA;
|
||||
if ((ret = ff_get_extradata(fc, st->codecpar, pb, len)) < 0)
|
||||
|
|
Loading…
Reference in New Issue