workaround for ub16 compiler problem
authorGood Guy <good1.2guy@gmail.com>
Fri, 28 Dec 2018 04:58:34 +0000 (21:58 -0700)
committerGood Guy <good1.2guy@gmail.com>
Fri, 28 Dec 2018 04:58:34 +0000 (21:58 -0700)
cinelerra-5.1/cinelerra/edl.C

index 604dff51890a767335bae43b3d2b65a77cbf23f8..102c975bc3139520e45b884fa69c864bafe4482f 100644 (file)
@@ -795,11 +795,12 @@ int EDL::clear(double start, double end,
        return 0;
 }
 
+class Zone { public: Track *track; int64_t start, end; };
+
 void EDL::delete_edits(ArrayList<Edit*> *edits, int collapse)
 {
        if( session->labels_follow_edits )
                delete_edit_labels(edits, collapse);
-       typedef struct { Track *track; int64_t start, end; } Zone;
        ArrayList<Zone> zones;
        for( int i=0; i<edits->size(); ++i ) {
                Edit *edit = edits->get(i);