Skip to content

Commit

Permalink
fixed #2474
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed May 22, 2023
1 parent 6f28c4c commit ba59206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/isomedia/movie_fragments.c
Expand Up @@ -2876,7 +2876,8 @@ GF_Err gf_isom_fragment_add_sample_ex(GF_ISOFile *movie, GF_ISOTrackID TrackID,
//rewrite OD frames
if (traf->trex->track->Media->handler->handlerType == GF_ISOM_MEDIA_OD) {
//this may fail if dependencies are not well done ...
Media_ParseODFrame(traf->trex->track->Media, sample, &od_sample);
GF_Err e = Media_ParseODFrame(traf->trex->track->Media, sample, &od_sample);
if (!od_sample) return e;
sample = od_sample;
}

Expand Down

0 comments on commit ba59206

Please sign in to comment.