Quoting Vittorio Giovara (2015-07-03 19:00:52)
> Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1.
> ---
> libavcodec/options_table.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
> index 66cfc74..01ef7c8 100644
> --- a/libavcodec/options_table.h
> +++ b/libavcodec/options_table.h
> @@ -24,6 +24,7 @@
> #include <limits.h>
> #include <stdint.h>
>
> +#include "libavutil/internal.h"
> #include "libavutil/opt.h"
> #include "avcodec.h"
> #include "version.h"
> @@ -476,7 +477,7 @@ static const AVOption avcodec_options[] = {
> {"side_data_only_packets", NULL, OFFSET(side_data_only_packets),
> AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, A|V|E },
> {NULL},
> };
> -FF_DISABLE_DEPRECATION_WARNINGS
> +FF_ENABLE_DEPRECATION_WARNINGS
>
> #undef A
> #undef V
> --
> 1.9.5 (Apple Git-50.3)
>
Don't see anything wrong with it on the first glance.
This header specifically is rather tricky, so it might still not be
completely right, but I guess we'll find out.
Patch fine with me.
--
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel