[FFmpeg-trac] #9986(avutil:new): Compilation error [-Wincompatible-pointer-types] on AOSP for x86 (32bits)
FFmpeg
trac at avcodec.org
Sat Oct 22 21:28:50 EEST 2022
#9986: Compilation error [-Wincompatible-pointer-types] on AOSP for x86 (32bits)
----------------------------------+---------------------------------------
Reporter: goffioul | Type: defect
Status: new | Priority: normal
Component: avutil | Version: unspecified
Keywords: android | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
When compiling ffmpeg 5.1.2 with AOSP (seen with Android-11 and
Android-13) for x86 (32bits), I reach the following compilation error:
{{{
external/ffmpeg/libavutil/hwcontext_vaapi.c:1188:34: error: incompatible
pointer types assigning to 'uintptr_t *' (aka 'unsigned int *') from
'unsigned long *' [-Werr
or,-Wincompatible-pointer-types]
buffer_desc.buffers = &buffer_handle;
^ ~~~~~~~~~~~~~~
external/ffmpeg/libavutil/hwcontext_vaapi.c:1488:12: error: format
specifies type 'long' but the argument has type 'uintptr_t' (aka 'unsigned
int') [-Werror,-Wformat]
mapping->buffer_info.handle);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9986>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list