[FFmpeg-devel] [PATCH]lavd/vfwcap: Pass pointers to int instead of long to av_parse_video_size().

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Apr 16 01:03:49 EEST 2018


Hi!

Attached patch is supposed to silence a user-reported warning, I
cannot currently test.

libavdevice/vfwcap.c: In function 'vfw_read_header':
libavdevice/vfwcap.c:331:35: warning: passing argument 1 of
'av_parse_video_size' from incompatible pointer type
[-Wincompatible-pointer-types]
         ret = av_parse_video_size(&bi->bmiHeader.biWidth,
&bi->bmiHeader.biHeight, ctx->video_size);
                                                  ^

Please review, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-vfwcap-Pass-pointers-to-int-instead-of-long-to-.patch
Type: text/x-patch
Size: 1261 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180416/181be7c7/attachment.bin>


More information about the ffmpeg-devel mailing list