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

Zhao Zhili git at videolan.org
Tue Nov 7 05:10:43 EET 2023


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Fri Nov  3 17:32:07 2023 +0800| [f084e9b0beca71129f36d8ae58e027adddf37fa1] | 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=f084e9b0beca71129f36d8ae58e027adddf37fa1
---

 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