avcodec/old_codec_ids: workaround doxygen inclusion bug
authorTimothy Gu <timothygu99@gmail.com>
Fri, 4 Jul 2014 18:06:40 +0000 (11:06 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 5 Jul 2014 22:32:29 +0000 (00:32 +0200)
Currently, http://ffmpeg.org/doxygen/trunk/group__preproc__misc.html is
broken, because of inclusion bug in Doxygen's preprocessing mode. The
now-unincluded header file is included anyway in avcodec.h, the only
place where it is used, so there should be no problem removing it.

One concern is API-compatibility, because old_codec_ids.h is a public
header. However, IMO this is not a problem because currently users
cannot include only this header and not `avcodec.h` anyway, because of
missing AV_CODEC_ID_NONE symbol.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/old_codec_ids.h

index b956264..c7aa0e0 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef AVCODEC_OLD_CODEC_IDS_H
 #define AVCODEC_OLD_CODEC_IDS_H
 
-#include "libavutil/common.h"
-
 /*
  * This header exists to prevent new codec IDs from being accidentally added to
  * the deprecated list.