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

@ -39,12 +39,12 @@ class ZMPacket {
int keyframe; int keyframe;
AVPacket packet; // Input packet, undecoded AVPacket packet; // Input packet, undecoded
AVFrame *in_frame; // Input image, decoded Theoretically only filled if needed. AVFrame *in_frame; // Input image, decoded Theoretically only filled if needed.
AVFrame *out_frame; // Input image, decoded Theoretically only filled if needed. AVFrame *out_frame; // output image, 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;
struct timeval *timestamp; struct timeval *timestamp;
uint8_t *buffer; // buffer used in image
Image *image;
Image *analysis_image;
int score;
AVMediaType codec_type; AVMediaType codec_type;
int image_index; int image_index;
int codec_imgsize; int codec_imgsize;