mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/matroskadec: Use av_dict_set_int() where appropriate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
d989785e47
commit
a64c2e0e0b
@ -3097,7 +3097,7 @@ static int matroska_parse_tracks(AVFormatContext *s)
|
||||
|
||||
/* export alpha mode flag as metadata tag */
|
||||
if (track->video.alpha_mode)
|
||||
av_dict_set(&st->metadata, "alpha_mode", "1", 0);
|
||||
av_dict_set_int(&st->metadata, "alpha_mode", 1, 0);
|
||||
|
||||
/* if we have virtual track, mark the real tracks */
|
||||
for (j=0; j < track->operation.combine_planes.nb_elem; j++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user