You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avformat/mov: item names can be NULL in infe boxes
Fixes assertions after 11a5333980
.
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -8956,8 +8956,7 @@ static int mov_read_infe(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
av_assert1(ret);
|
av_bprint_finalize(&item_name, ret ? &item->name : NULL);
|
||||||
av_bprint_finalize(&item_name, &item->name);
|
|
||||||
item->item_id = item_id;
|
item->item_id = item_id;
|
||||||
item->type = item_type;
|
item->type = item_type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user