[FFmpeg-devel] [PATCH V5 2/2] lavf/vc1test: add rcv to vc1test demuxer extensions

mypopy at gmail.com mypopy at gmail.com
Tue Oct 23 03:47:47 EEST 2018


On Tue, Oct 23, 2018 at 4:39 AM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> On Wed, Oct 17, 2018 at 08:18:58AM +0800, Jun Zhao wrote:
> > rcv is commonly used as extension for vc1 test stream files.
> >
> > Signed-off-by: Jun Zhao <jun.zhao at intel.com>
> > ---
> >  libavformat/vc1test.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
> > index 64a45cd..d445709 100644
> > --- a/libavformat/vc1test.c
> > +++ b/libavformat/vc1test.c
> > @@ -122,5 +122,6 @@ AVInputFormat ff_vc1t_demuxer = {
> >      .read_probe     = vc1t_probe,
> >      .read_header    = vc1t_read_header,
> >      .read_packet    = vc1t_read_packet,
> > +    .extensions     = "rcv",
> >      .flags          = AVFMT_GENERIC_INDEX,
>
> what is the advantage to add this here ? the demuxer has a probe function ...
>
> does this fix some issue ?
>
> thx
>
I think give a " .extensions" will help some guys as a tip like the
other demuxer, which have both the probe function and extensions
field.


More information about the ffmpeg-devel mailing list