From f084e9b0beca71129f36d8ae58e027adddf37fa1 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Fri, 3 Nov 2023 17:32:07 +0800 Subject: [PATCH] avdevice/android_camera: fix build failure due to typo Signed-off-by: Zhao Zhili --- libavdevice/android_camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavdevice/android_camera.c b/libavdevice/android_camera.c index 602b59047d..c981985f10 100644 --- a/libavdevice/android_camera.c +++ b/libavdevice/android_camera.c @@ -648,8 +648,8 @@ static int add_display_matrix(AVFormatContext *avctx, AVStream *st) av_display_matrix_flip(display_matrix, 1, 0); } - side_data = av_packet_side_data_new(&st->codecpar->side_data, - &st->codecpar->nb_side_data, + side_data = av_packet_side_data_new(&st->codecpar->coded_side_data, + &st->codecpar->nb_coded_side_data, AV_PKT_DATA_DISPLAYMATRIX, sizeof(display_matrix), 0);