Fixes fate-imgutils and fate-pixelutils under gcc-usan after 29ea34728f1064877a0ab9b8dee0f3de69a2d750.
Signed-off-by: James Almer <jamr...@gmail.com> --- libavutil/pixdesc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index f8d6055084..508d6d2a39 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -133,7 +133,7 @@ void av_write_image_line2(const void *src, uint32_t mask = ((1ULL << depth) - 1) << offset; while (w--) { - uint16_t val = src_element_size == 4 ? *src32++ : *src16++; + uint32_t val = src_element_size == 4 ? *src32++ : *src16++; AV_WB32(p, (AV_RB32(p) & ~mask) | (val << offset)); p++; } -- 2.46.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".