Skip to content

Commit ce01bd1

Browse files
committed
fixed #1566
1 parent 9eeac00 commit ce01bd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: applications/mp4box/filedump.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,8 @@ void dump_isom_sdp(GF_ISOFile *file, char *inName, Bool is_final_name)
16241624
}
16251625
//get the movie SDP
16261626
gf_isom_sdp_get(file, &sdp, &size);
1627-
fprintf(dump, "%s", sdp);
1627+
if (sdp && size)
1628+
fprintf(dump, "%s", sdp);
16281629
fprintf(dump, "\r\n");
16291630

16301631
//then tracks

0 commit comments

Comments
 (0)