[FFmpeg-devel] [PATCH 15/15] vfwcap: Fix some warnings about incompatible pointer type
jamal
jamrial at gmail.com
Fri Jul 27 10:23:25 CEST 2012
---
libavdevice/vfwcap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index d8e32ce..6a4cea0 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -322,7 +322,7 @@ static int vfw_read_header(AVFormatContext *s)
}
if (ctx->video_size) {
- ret = av_parse_video_size(&bi->bmiHeader.biWidth, &bi->bmiHeader.biHeight, ctx->video_size);
+ ret = av_parse_video_size((int *)&bi->bmiHeader.biWidth, (int *)&bi->bmiHeader.biHeight, ctx->video_size);
if (ret < 0) {
av_log(s, AV_LOG_ERROR, "Couldn't parse video size.\n");
goto fail;
--
1.7.8.6
More information about the ffmpeg-devel
mailing list