Skip to content

Commit

Permalink
Drop pointless directory name prefixes from #includes in the current dir
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDiego committed Sep 10, 2013
1 parent ec17d1a commit a0b901a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion libavcodec/avcodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"

#include "libavcodec/version.h"
#include "version.h"

/**
* @defgroup libavc Encoding/Decoding Library
* @{
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/s3tc.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/bytestream.h"
#include "avcodec.h"
#include "bytestream.h"
#include "s3tc.h"

static inline void dxt1_decode_pixels(GetByteContext *gb, uint32_t *d,
Expand Down
3 changes: 1 addition & 2 deletions libavutil/blowfish.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"

#include "avutil.h"
#include "common.h"
#include "intreadwrite.h"
#include "blowfish.h"

static const uint32_t orig_p[AV_BF_ROUNDS + 2] = {
Expand Down
4 changes: 3 additions & 1 deletion libavutil/des.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ void av_des_mac(AVDES *d, uint8_t *dst, const uint8_t *src, int count) {
#ifdef TEST
#include <stdlib.h>
#include <stdio.h>
#include "libavutil/time.h"

#include "time.h"

static uint64_t rand64(void) {
uint64_t r = rand();
r = (r << 32) | rand();
Expand Down
2 changes: 1 addition & 1 deletion libavutil/float_dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include "config.h"
#include "libavutil/attributes.h"
#include "attributes.h"
#include "float_dsp.h"

static void vector_fmul_c(float *dst, const float *src0, const float *src1,
Expand Down
2 changes: 1 addition & 1 deletion libavutil/pixfmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/

#include "libavutil/avconfig.h"
#include "libavutil/version.h"
#include "version.h"

/**
* Pixel format.
Expand Down
2 changes: 1 addition & 1 deletion libavutil/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <windows.h>
#endif

#include "libavutil/time.h"
#include "time.h"
#include "error.h"

int64_t av_gettime(void)
Expand Down
3 changes: 1 addition & 2 deletions libavutil/xtea.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"

#include "avutil.h"
#include "common.h"
#include "intreadwrite.h"
#include "xtea.h"

void av_xtea_init(AVXTEA *ctx, const uint8_t key[16])
Expand Down
2 changes: 1 addition & 1 deletion libswscale/rgb2rgb.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

#include <inttypes.h>

#include "libswscale/swscale.h"
#include "libavutil/avutil.h"
#include "swscale.h"

/* A full collection of RGB to RGB(BGR) converters */
extern void (*rgb24tobgr32)(const uint8_t *src, uint8_t *dst, int src_size);
Expand Down

0 comments on commit a0b901a

Please sign in to comment.