From 0bcf6eaf20da221bb122445e057a0934acae9f15 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 17 Nov 2015 19:04:56 +0100 Subject: [PATCH] Fix parameter order. --- bmusb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bmusb.cpp b/bmusb.cpp index 990a8ee..c2c49ab 100644 --- 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; -- 2.39.2