From 5392982241ededd6f6b041ff9ab288d0605564ea Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 29 Sep 2019 17:45:59 +0100 Subject: [PATCH] lavc/h265_metadata_bsf: Fix parameter ordering 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 "