[Ffmpeg-devel] Disable lavf NUT
Oded Shimon
ods15
Sat Apr 22 14:18:11 CEST 2006
On Sat, Apr 22, 2006 at 02:09:46PM +0200, Alex Beregszaszi wrote:
> 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.
Michael wanted to disabled NUT without disabling regression tests. I don't
really agree, but I'm not the maintainer. This hack allows regression to
still work fine, and not allowing anything else.
- ods15
More information about the ffmpeg-devel
mailing list