mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-18 21:24:27 +01:00
Fix local NDEBUG define
The struct definition and the implementation did not use the same NDEBUG constant.
This commit is contained in:
@@ -12,12 +12,14 @@
|
||||
#include "util/tick.h"
|
||||
#include "util/vecdeque.h"
|
||||
|
||||
#define SC_BUFFERING_NDEBUG // comment to debug
|
||||
|
||||
// forward declarations
|
||||
typedef struct AVFrame AVFrame;
|
||||
|
||||
struct sc_delayed_frame {
|
||||
AVFrame *frame;
|
||||
#ifndef NDEBUG
|
||||
#ifndef SC_BUFFERING_NDEBUG
|
||||
sc_tick push_date;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user