[FFmpeg-cvslog] avformat/sierravmd: Make struct smaller by reordering

Andreas Rheinhardt git at videolan.org
Mon Mar 29 07:12:38 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Wed Mar 24 02:17:35 2021 +0100| [558426b847b871c142ab589e3e54361850324e11] | committer: Andreas Rheinhardt

avformat/sierravmd: Make struct smaller by reordering

Also remove keyframe from vmd_frame, it is unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=558426b847b871c142ab589e3e54361850324e11
---

 libavformat/sierravmd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 11a883614f..cfbf1843d4 100644
--- a/libavformat/sierravmd.c
+++ b/libavformat/sierravmd.c
@@ -38,10 +38,9 @@
 
 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;
 



More information about the ffmpeg-cvslog mailing list