aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-24 02:17:35 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-03-28 19:09:29 +0200
commit558426b847b871c142ab589e3e54361850324e11 (patch)
tree7cddff2ce00caebeba8b524db8429eba639093ec
parent440a401d89198adf718d521bd6cd28a70d8f87ce (diff)
downloadffmpeg-558426b847b871c142ab589e3e54361850324e11.tar.gz
avformat/sierravmd: Make struct smaller by reordering
Also remove keyframe from vmd_frame, it is unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavformat/sierravmd.c3
1 files changed, 1 insertions, 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;