Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2022-09-01 05:57:42 +0300
committerZhao Zhili <zhilizhao@tencent.com>2022-09-22 15:03:57 +0300
commitaf919cf780b59cdf60835f412f78db1138fc1138 (patch)
treef0e9381d1c7770b9b8a0d1dbcb8008c669c561c9 /fftools
parentf55f81795552d8f0a5d287973203bfce9cffe51e (diff)
fftools/ffmpeg: fix av_display_rotation_set() type cast
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 0e1477299d..69716de6b6 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3256,7 +3256,7 @@ static int init_output_stream(OutputStream *ost, AVFrame *frame,
return AVERROR(ENOMEM);
memcpy(dst, sd->data, sd->size);
if (ist->autorotate && sd->type == AV_PKT_DATA_DISPLAYMATRIX)
- av_display_rotation_set((uint32_t *)dst, 0);
+ av_display_rotation_set((int32_t *)dst, 0);
}
}
}