[vlc-commits] Fix V4L2 typo

Rémi Denis-Courmont git at videolan.org
Tue Sep 6 22:53:20 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep  6 23:50:58 2011 +0300| [2f4f8cef4e8f323d20cd9910e2afa223b4e8a5ac] | committer: Rémi Denis-Courmont

Fix V4L2 typo

It had no effects since both enumeration members had the same value.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f4f8cef4e8f323d20cd9910e2afa223b4e8a5ac
---

 modules/access/v4l2/demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index 658fa46..edf77a2 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -238,7 +238,7 @@ static float GetMaxFPS( int fd, uint32_t pixel_format,
             return max;
         }
 
-        case V4L2_FRMSIZE_TYPE_STEPWISE:
+        case V4L2_FRMIVAL_TYPE_STEPWISE:
         case V4L2_FRMIVAL_TYPE_CONTINUOUS:
             return __MAX( (float)fie.stepwise.max.denominator
                         / (float)fie.stepwise.max.numerator,



More information about the vlc-commits mailing list