Commit 40a82fd4 authored by Francois Cartegnie's avatar Francois Cartegnie

mux: mp4: unchecked return

parent 00b67afd
...@@ -1138,6 +1138,12 @@ static bo_t *GetStblBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b ...@@ -1138,6 +1138,12 @@ static bo_t *GetStblBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
/* sample to chunk table */ /* sample to chunk table */
bo_t *stsc = box_full_new("stsc", 0, 0); bo_t *stsc = box_full_new("stsc", 0, 0);
if(!stsc)
{
bo_free(stco);
bo_free(stsd);
return NULL;
}
bo_add_32be(stsc, 0); // entry-count (fixed latter) bo_add_32be(stsc, 0); // entry-count (fixed latter)
unsigned i_chunk = 0; unsigned i_chunk = 0;
......
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