[FFmpeg-devel] [PATCH] avformat/mxfdec: Correct confusing struct tag

Paul B Mahol onemda at gmail.com
Sun Mar 29 14:16:15 EEST 2020


lgtm

On 3/29/20, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
> Don't use typedef struct MXFTrack {...} MXFTimecodeComponent, in
> particular given the fact that MXFTrack is a type of its own.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/mxfdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> index 3374f36a88..fdd0dd2a88 100644
> --- a/libavformat/mxfdec.c
> +++ b/libavformat/mxfdec.c
> @@ -131,7 +131,7 @@ typedef struct MXFSequence {
>      uint8_t origin;
>  } MXFSequence;
>
> -typedef struct MXFTrack {
> +typedef struct MXFTimecodeComponent {
>      UID uid;
>      enum MXFMetadataSetType type;
>      int drop_frame;
> --
> 2.20.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list