[FFmpeg-devel] [PATCH] avformat: Move MAX_PROBE_PACKETS to internal.h
Ronald S. Bultje
rsbultje at gmail.com
Mon Aug 10 02:28:17 CEST 2015
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.
Ronald
More information about the ffmpeg-devel
mailing list