]> git.sesse.net Git - bmusb/commitdiff
Fix a typo.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Sep 2015 20:45:38 +0000 (22:45 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Sep 2015 20:45:38 +0000 (22:45 +0200)
bmusb.cpp

index 926bfa10dc195571d98346098cb43c0707ba4999..e960425547d6c4d2f8d04d81b971ce10b0bda1fe 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -254,7 +254,7 @@ static void dump_pack(const libusb_transfer *xfr, int offset, const libusb_iso_p
 void add_to_frame(FrameAllocator::Frame *current_frame, const char *frame_type_name, const uint8_t *start, const uint8_t *end)
 {
        if (current_frame->data == nullptr ||
-           current_frame->len > current_video_frame.size ||
+           current_frame->len > current_frame->size ||
            start == end) {
                return;
        }