[FFmpeg-cvslog] avdevice/android_camera: fix build failure due to typo

Zhao Zhili git at videolan.org
Thu Nov 9 10:48:26 EET 2023


ffmpeg | branch: release/6.1 | Zhao Zhili <zhilizhao at tencent.com> | Fri Nov  3 17:32:07 2023 +0800| [3d7c02e4a2750f41dd4ee032c261ddb62f6e3374] | committer: Zhao Zhili

avdevice/android_camera: fix build failure due to typo

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

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

 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);
 



More information about the ffmpeg-cvslog mailing list