[FFmpeg-devel] [PATCH 3/8] lavc/h265_metadata_bsf: Fix parameter ordering

Mark Thompson sw at jkqxz.net
Sun Sep 29 19:45:59 EEST 2019


Fixes CID 1452433.
---
 libavcodec/h265_metadata_bsf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c
index b3a1fda144..730f7ac28f 100644
--- a/libavcodec/h265_metadata_bsf.c
+++ b/libavcodec/h265_metadata_bsf.c
@@ -131,7 +131,7 @@ static void h265_metadata_guess_level(AVBSFContext *bsf,
     }
 
     desc = ff_h265_guess_level(ptl, bit_rate, width, height,
-                               0, tile_cols, tile_rows,
+                               0, tile_rows, tile_cols,
                                max_dec_pic_buffering);
     if (desc) {
         av_log(bsf, AV_LOG_DEBUG, "Stream appears to conform to "
-- 
2.20.1



More information about the ffmpeg-devel mailing list