diff mbox series

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

Message ID 20210324012039.1689102-1-andreas.rheinhardt@gmail.com
State Accepted
Commit 558426b847b871c142ab589e3e54361850324e11
Headers show
Series [FFmpeg-devel] avformat/sierravmd: Make struct smaller by reordering
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt March 24, 2021, 1:20 a.m. UTC
Also remove keyframe from vmd_frame, it is unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/sierravmd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Andreas Rheinhardt March 26, 2021, 4:38 a.m. UTC | #1
Andreas Rheinhardt:
> Also remove keyframe from vmd_frame, it is unused.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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;
>  
> 
Will apply this patch tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

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;