[FFmpeg-devel] [PATCH 3/3] nsvdec: add "nsv" to extensions and stop manually checking for it

Michael Niedermayer michaelni
Fri Nov 12 19:17:27 CET 2010


On Fri, Nov 12, 2010 at 06:18:11PM +0100, Anton Khirnov wrote:
> ---
>  libavformat/nsvdec.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
> index 44e5097..e028d91 100644
> --- a/libavformat/nsvdec.c
> +++ b/libavformat/nsvdec.c
> @@ -767,9 +767,6 @@ static int nsv_probe(AVProbeData *p)
>              p->buf[i+2] == 'V' && p->buf[i+3] == 's')
>              return AVPROBE_SCORE_MAX-20;
>      }
> -    /* so we'll have more luck on extension... */
> -    if (av_match_ext(p->filename, "nsv"))
> -        return AVPROBE_SCORE_MAX/2;
>      /* FIXME: add mime-type check */
>      return 0;
>  }

iam interrested in the file that fails without this

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101112/133f4ab4/attachment.pgp>



More information about the ffmpeg-devel mailing list