]> git.sesse.net Git - ffmpeg/commitdiff
avformat/sierravmd: Make struct smaller by reordering
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 24 Mar 2021 01:17:35 +0000 (02:17 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 28 Mar 2021 17:09:29 +0000 (19:09 +0200)
Also remove keyframe from vmd_frame, it is unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/sierravmd.c

index 11a883614fc0398cf7d3c7b9c8a218b1ca679fd5..cfbf1843d43067f41b320e469d21027dc9c7f657 100644 (file)
 
 typedef struct vmd_frame {
   int stream_index;
-  int64_t frame_offset;
   unsigned int frame_size;
+  int64_t frame_offset;
   int64_t pts;
-  int keyframe;
   unsigned char frame_record[BYTES_PER_FRAME_RECORD];
 } vmd_frame;