Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanreg committed Aug 24, 2022
1 parent e964c0b commit a3fcb32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coverart.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ int crip_save_art(cyanrip_ctx *ctx, CRIPArt *art, const cyanrip_out_fmt *fmt)
}
av_freep(&filepath);

/* Silence libavformat warning */
AVDictionary *opts = NULL;
av_dict_set(&opts, "update", "1", 0");
av_dict_set(&opts, "update", "1", 0);

/* Write header */
ret = avformat_write_header(avf, &opts);
Expand Down

0 comments on commit a3fcb32

Please sign in to comment.