Re: [libav-devel] [PATCH 6/6] lavf: use the new bitstream filter for extracting extradata

2016-09-27 Thread Luca Barbato
On 27/09/16 16:35, Anton Khirnov wrote: > Quoting Diego Biurrun (2016-09-22 17:58:13) >> On Thu, Sep 22, 2016 at 04:29:11PM +0200, Anton Khirnov wrote: >>> --- a/libavformat/internal.h >>> +++ b/libavformat/internal.h >>> @@ -113,6 +113,15 @@ struct AVStreamInternal { >>> >>> +/* the context

Re: [libav-devel] [PATCH 6/6] lavf: use the new bitstream filter for extracting extradata

2016-09-27 Thread Anton Khirnov
Quoting Diego Biurrun (2016-09-22 17:58:13) > On Thu, Sep 22, 2016 at 04:29:11PM +0200, Anton Khirnov wrote: > > --- a/libavformat/internal.h > > +++ b/libavformat/internal.h > > @@ -113,6 +113,15 @@ struct AVStreamInternal { > > > > +/* the context for extracting extradata in find_stream_inf

Re: [libav-devel] [PATCH 6/6] lavf: use the new bitstream filter for extracting extradata

2016-09-22 Thread Diego Biurrun
On Thu, Sep 22, 2016 at 04:29:11PM +0200, Anton Khirnov wrote: > --- a/libavformat/internal.h > +++ b/libavformat/internal.h > @@ -113,6 +113,15 @@ struct AVStreamInternal { > > +/* the context for extracting extradata in find_stream_info() > + * inited=1/bsf=NULL signals that extracting

[libav-devel] [PATCH 6/6] lavf: use the new bitstream filter for extracting extradata

2016-09-22 Thread Anton Khirnov
This also fixes a minor bug introduced in the codecpar conversion, where the termination condition for extracting the extradata does not match the actual extradata setting code. As a result, the packet durations made up by lavf go back to their values before the codecpar conversion. That is of litt