add missing and mix order of Packet initializers

This commit is contained in:
Isaac Connor 2021-01-07 09:41:08 -05:00
parent 0d450f4f85
commit 3b8266a6f0
1 changed files with 7 additions and 7 deletions

View File

@ -37,14 +37,14 @@ class ZMPacket {
std::recursive_mutex mutex;
int keyframe;
AVPacket packet; // Input packet, undecoded
AVFrame *in_frame; // Input image, decoded Theoretically only filled if needed.
AVFrame *out_frame; // Input image, decoded Theoretically only filled if needed.
uint8_t *buffer;
Image *image; // Our internal image object representing this frame
Image *analysis_image; // Our internal image object representing this frame
int score;
AVPacket packet; // Input packet, undecoded
AVFrame *in_frame; // Input image, decoded Theoretically only filled if needed.
AVFrame *out_frame; // output image, Only filled if needed.
struct timeval *timestamp;
uint8_t *buffer; // buffer used in image
Image *image;
Image *analysis_image;
int score;
AVMediaType codec_type;
int image_index;
int codec_imgsize;