]> git.sesse.net Git - bmusb/commitdiff
Fix parameter order.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 17 Nov 2015 18:04:56 +0000 (19:04 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 17 Nov 2015 18:15:21 +0000 (19:15 +0100)
bmusb.cpp

index 990a8ee280dcb7db944d0e023836fbaeb3e1a7b0..c2c49abb476a2057eaa491d6181ef9cb16398be5 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -1106,11 +1106,11 @@ void BMUSBCapture::stop_bm_thread()
 struct VideoFormatEntry {
        uint16_t normalized_video_format;
        int width, height;
-       int frame_rate_den, frame_rate_nom;
+       int frame_rate_nom, frame_rate_den;
        bool interlaced;
 };
 
-bool decode_video_format(uint16_t video_format, int *width, int *height, int *frame_rate_den, int *frame_rate_nom, bool *interlaced)
+bool decode_video_format(uint16_t video_format, int *width, int *height, int *frame_rate_nom, int *frame_rate_den, bool *interlaced)
 {
        *interlaced = false;