Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixed #1565
  • Loading branch information
jeanlf committed Sep 1, 2020
1 parent 093283e commit 9eeac00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/mp4box/main.c
Expand Up @@ -5595,7 +5595,7 @@ int mp4boxMain(int argc, char **argv)
if (dump_iod) {
GF_InitialObjectDescriptor *iod = (GF_InitialObjectDescriptor *)gf_isom_get_root_od(file);
if (!iod) {
fprintf(stderr, "File %s has no IOD", inName);
fprintf(stderr, "File %s has no IOD\n", inName);
} else {
char szName[GF_MAX_PATH+10];
FILE *iodf;
Expand Down
3 changes: 2 additions & 1 deletion src/filters/write_nhml.c
Expand Up @@ -398,7 +398,8 @@ static void nhmldump_send_header(GF_NHMLDumpCtx *ctx)
sprintf(nhml, "sampleRate=\"%d\" numChannels=\"%d\" ", ctx->sr, ctx->chan);
gf_bs_write_data(ctx->bs_w, nhml, (u32) strlen(nhml));
p = gf_filter_pid_get_property(ctx->ipid, GF_PROP_PID_AUDIO_FORMAT);
sprintf(nhml, "bitsPerSample=\"%d\" ", gf_audio_fmt_bit_depth(p->value.uint));
if (p)
sprintf(nhml, "bitsPerSample=\"%d\" ", gf_audio_fmt_bit_depth(p->value.uint));
gf_bs_write_data(ctx->bs_w, nhml, (u32) strlen(nhml));
}

Expand Down

0 comments on commit 9eeac00

Please sign in to comment.