[FFmpeg-cvslog] avformat/matroskadec: Use av_dict_set_int() where appropriate

Andreas Rheinhardt git at videolan.org
Thu Sep 7 02:18:54 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Aug  9 18:20:00 2023 +0200| [a64c2e0e0b7bae16dedea48203bc08909b74dd98] | committer: Andreas Rheinhardt

avformat/matroskadec: Use av_dict_set_int() where appropriate

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a64c2e0e0b7bae16dedea48203bc08909b74dd98
---

 libavformat/matroskadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 147a146873..ee546bfffb 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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++) {



More information about the ffmpeg-cvslog mailing list