mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avutil/log: Don't include avutil.h
It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
12a540352b
commit
321a3c244d
@ -26,6 +26,7 @@
|
||||
|
||||
#include "libavutil/bprint.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "jni.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <wels/codec_api.h>
|
||||
#include <wels/codec_ver.h>
|
||||
|
||||
#include "libavutil/error.h"
|
||||
#include "libavutil/log.h"
|
||||
|
||||
#include "libopenh264.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#define AVFORMAT_AVC_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "libavutil/rational.h"
|
||||
#include "avio.h"
|
||||
|
||||
typedef struct NALU {
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/avutil.h"
|
||||
#include "libavutil/base64.h"
|
||||
#include "url.h"
|
||||
|
||||
|
@ -18,8 +18,10 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "ip.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
static int compare_addr(const struct sockaddr_storage *a,
|
||||
const struct sockaddr_storage *b)
|
||||
|
@ -21,6 +21,7 @@
|
||||
#define AVUTIL_CUDA_CHECK_H
|
||||
|
||||
#include "compat/cuda/dynlink_loader.h"
|
||||
#include "error.h"
|
||||
|
||||
typedef CUresult CUDAAPI cuda_check_GetErrorName(CUresult error, const char** pstr);
|
||||
typedef CUresult CUDAAPI cuda_check_GetErrorString(CUresult error, const char** pstr);
|
||||
|
@ -22,8 +22,8 @@
|
||||
#define AVUTIL_LOG_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "avutil.h"
|
||||
#include "attributes.h"
|
||||
#include "version.h"
|
||||
|
||||
typedef enum {
|
||||
AV_CLASS_CATEGORY_NA = 0,
|
||||
|
@ -19,8 +19,12 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/camellia.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
@ -19,8 +19,12 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/cast5.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
@ -20,10 +20,12 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mem.h"
|
||||
#include "libavutil/twofish.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
@ -31,7 +31,11 @@
|
||||
|
||||
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "error.h"
|
||||
#include "log.h"
|
||||
#include "macros.h"
|
||||
|
||||
#define ASSERT_PTHREAD_ABORT(func, ret) do { \
|
||||
char errbuf[AV_ERROR_MAX_STRING_SIZE] = ""; \
|
||||
|
@ -27,6 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "common.h"
|
||||
#include "timecode.h"
|
||||
#include "log.h"
|
||||
#include "error.h"
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include <mach/mach_time.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "log.h"
|
||||
|
||||
#if ARCH_AARCH64
|
||||
|
@ -19,12 +19,18 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h> /* getopt */
|
||||
#endif
|
||||
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/bprint.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
#if !HAVE_GETOPT
|
||||
#include "compat/getopt.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user