[FFmpeg-devel] [PATCH] avformat: Move MAX_PROBE_PACKETS to internal.h
Michael Niedermayer
michael at niedermayer.cc
Wed Aug 12 18:02:10 CEST 2015
On Sun, Aug 09, 2015 at 08:28:17PM -0400, Ronald S. Bultje wrote:
> Hi,
>
> On Sun, Aug 9, 2015 at 5:21 PM, Michael Niedermayer <michaelni at gmx.at>
> wrote:
>
> > From: Michael Niedermayer <michael at niedermayer.cc>
> >
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> > libavformat/avformat.h | 1 -
> > libavformat/internal.h | 2 ++
> > 2 files changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> > index fb69852..6933624 100644
> > --- a/libavformat/avformat.h
> > +++ b/libavformat/avformat.h
> > @@ -1015,7 +1015,6 @@ typedef struct AVStream {
> > /**
> > * Number of packets to buffer for codec probing
> > */
> > -#define MAX_PROBE_PACKETS 2500
> > int probe_packets;
> >
> > /**
> > diff --git a/libavformat/internal.h b/libavformat/internal.h
> > index 77914d8..352739e 100644
> > --- a/libavformat/internal.h
> > +++ b/libavformat/internal.h
> > @@ -31,6 +31,8 @@
> > #define PROBE_BUF_MIN 2048
> > #define PROBE_BUF_MAX (1 << 20)
> >
> > +#define MAX_PROBE_PACKETS 2500
>
>
> (Let's hope nobody is actually using this...) ok? Maybe others object and
> want a proper deprecation process, give them a day or so.
given them a few days
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150812/97710525/attachment.sig>
More information about the ffmpeg-devel
mailing list