[Ffmpeg-devel] Disable lavf NUT

Alex Beregszaszi alex
Sat Apr 22 14:09:46 CEST 2006


Hi,

> Index: libavformat/nut.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/nut.c,v
> retrieving revision 1.62
> diff -u -r1.62 nut.c
> --- libavformat/nut.c	1 Mar 2006 11:29:55 -0000	1.62
> +++ libavformat/nut.c	22 Apr 2006 11:59:39 -0000
> @@ -519,6 +519,11 @@
>      AVCodecContext *codec;
>      int i, j, tmp_time, tmp_flags,tmp_stream, tmp_mul, tmp_size, tmp_fields;
>  
> +    if (strcmp(s->filename, "./data/b-libav.nut")) {
> +        av_log(s, AV_LOG_ERROR, " libavformat NUT is non-compliant and disabled\n");
> +        return -1;
> +    }
> +

?!?!?

Disabling regression tests is not done here.

-- 
Alex Beregszaszi	email: alex at fsn.hu
Free Software Network	cell: +36 70 3144424





More information about the ffmpeg-devel mailing list