[FFmpeg-devel] [PATCH]Fix detection of discrete in v4l2_frmsizeenum
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jan 8 13:46:59 CET 2013
Hi!
configure currently fails to not-detect discrete in v4l2_frmsizeenum, attached
fixes this bug for me.
Please review, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 89e076f..1b0cacf 100755
--- a/configure
+++ b/configure
@@ -3916,7 +3916,7 @@ rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || d
check_header linux/fb.h
check_header linux/videodev.h
check_header linux/videodev2.h
-check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete
+check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; vfse.discrete.width = 0;" && enable_safe struct_v4l2_frmivalenum_discrete
check_header sys/videoio.h
More information about the ffmpeg-devel
mailing list