[FFmpeg-cvslog] Fix detection of struct v4l2_frmsize_discrete.

Carl Eugen Hoyos git at videolan.org
Thu Jan 17 02:18:07 CET 2013


ffmpeg | branch: release/1.0 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Jan 17 02:11:12 2013 +0100| [aa1af0d6cace02838b5843978fd51acdc163cae2] | committer: Carl Eugen Hoyos

Fix detection of struct v4l2_frmsize_discrete.

It was always detected successfully.
(cherry picked from commit c345100efc9baae0ea7c9fcc376725cae5d3df6e)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aa1af0d6cace02838b5843978fd51acdc163cae2
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 5fdf7cf..b67affd 100755
--- a/configure
+++ b/configure
@@ -3732,7 +3732,7 @@ pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
 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-cvslog mailing list