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

Michael Niedermayer michael at niedermayer.cc
Mon Oct 22 23:39:07 EEST 2018


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"I am not trying to be anyone's saviour, I'm trying to think about the
 future and not be sad" - Elon Musk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181022/de0f6387/attachment.sig>


More information about the ffmpeg-devel mailing list