[FFmpeg-devel] [PATCH] avformat/dvenc: support muxing dvcprohd

Tomas Härdin tjoppen at acc.umu.se
Wed Nov 13 22:18:18 EET 2019


ons 2019-11-13 klockan 09:22 -0800 skrev Baptiste Coudurier:
> ---
>  libavformat/dvenc.c | 48 +++++++++++++++++++++------------------------
>  1 file changed, 22 insertions(+), 26 deletions(-)
> 
> diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c
> index 93c103b316..a7d1413eb2 100644
> --- a/libavformat/dvenc.c
> +++ b/libavformat/dvenc.c
> @@ -87,14 +86,12 @@ static int dv_audio_frame_size(const AVDVProfile* sys, int frame, int sample_rat
>                                              sizeof(sys->audio_samples_dist[0]))];
>  }
>  
> -static int dv_write_pack(enum dv_pack_type pack_id, DVMuxContext *c, uint8_t* buf, ...)
> +static int dv_write_pack(enum dv_pack_type pack_id, DVMuxContext *c, uint8_t* buf, int channel, int seq)

Didn't know dvenc had varargs crap in it. Good riddance

I read through the rest of the patch, and it looks OK with the caveat
that I don't know much about the DV bitstream

/Tomas



More information about the ffmpeg-devel mailing list