[FFmpeg-devel] [PATCH] avformat/sierravmd: Make struct smaller by reordering
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Mar 24 03:20:39 EET 2021
Also remove keyframe from vmd_frame, it is unused.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
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;
--
2.27.0
More information about the ffmpeg-devel
mailing list