[FFmpeg-devel] [PATCH 1/5] avformat/mxfdec: pass track to mxf_edit_unit_absolute_offset instead of arbitrary edit unit

Tomas Härdin tjoppen at acc.umu.se
Sun Apr 14 18:57:52 EEST 2019


fre 2019-04-12 klockan 01:09 +0200 skrev Marton Balint:
> > Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavformat/mxfdec.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
> index 8c65a2bbcf..c3892a1037 100644
> --- a/libavformat/mxfdec.c
> +++ b/libavformat/mxfdec.c
> @@ -1564,12 +1564,12 @@ static int64_t mxf_essence_container_end(MXFContext *mxf, int body_sid)
>  }
>  
>  /* EditUnit -> absolute offset */
> -static int mxf_edit_unit_absolute_offset(MXFContext *mxf, MXFIndexTable *index_table, int64_t edit_unit, AVRational edit_rate, int64_t *edit_unit_out, int64_t *offset_out, MXFPartition **partition_out, int nag)
> +static int mxf_edit_unit_absolute_offset(MXFContext *mxf, MXFTrack *track, MXFIndexTable *index_table, int64_t edit_unit, int64_t *edit_unit_out, int64_t *offset_out, MXFPartition **partition_out, int nag)

Why? Either way, you could break this line up while you're at it

/Tomas


More information about the ffmpeg-devel mailing list