mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 07:50:58 +02:00
libeplayer3-arm: Code formatting
Origin commit data
------------------
Branch: master
Commit: ae31a0f3e7
Author: max_10 <max_10@gmx.de>
Date: 2017-12-28 (Thu, 28 Dec 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
7
libeplayer3-arm/external/ffmpeg/get_bits.h
vendored
7
libeplayer3-arm/external/ffmpeg/get_bits.h
vendored
@@ -100,11 +100,9 @@ typedef struct GetBitContext
|
||||
unsigned int name ## _index = (gb)->index; \
|
||||
unsigned int av_unused name ## _cache
|
||||
|
||||
|
||||
#define OPEN_READER(name, gb) OPEN_READER_NOSIZE(name, gb)
|
||||
#define BITS_AVAILABLE(name, gb) 1
|
||||
|
||||
|
||||
#define CLOSE_READER(name, gb) (gb)->index = name ## _index
|
||||
|
||||
# ifdef LONG_BITSTREAM_READER
|
||||
@@ -125,7 +123,6 @@ typedef struct GetBitContext
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef BITSTREAM_READER_LE
|
||||
|
||||
# define UPDATE_CACHE(name, gb) UPDATE_CACHE_LE(name, gb)
|
||||
@@ -142,7 +139,6 @@ typedef struct GetBitContext
|
||||
|
||||
#define SKIP_COUNTER(name, gb, num) name ## _index += (num)
|
||||
|
||||
|
||||
#define BITS_LEFT(name, gb) ((int)((gb)->size_in_bits - name ## _index))
|
||||
|
||||
#define SKIP_BITS(name, gb, num) \
|
||||
@@ -504,7 +500,6 @@ do { \
|
||||
SKIP_BITS(name, gb, n); \
|
||||
} while (0)
|
||||
|
||||
|
||||
static inline int decode012(GetBitContext *gb)
|
||||
{
|
||||
int n;
|
||||
@@ -541,4 +536,4 @@ static inline int skip_1stop_8data_bits(GetBitContext *gb)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* AVCODEC_GET_BITS_H */
|
||||
#endif /* AVCODEC_GET_BITS_H */
|
||||
|
1
libeplayer3-arm/external/ffmpeg/latmenc.h
vendored
1
libeplayer3-arm/external/ffmpeg/latmenc.h
vendored
@@ -42,4 +42,3 @@ int latmenc_decode_extradata(LATMContext *ctx, uint8_t *buf, int size);
|
||||
int latmenc_write_packet(LATMContext *ctx, uint8_t *data, int size, uint8_t *extradata, int extradata_size);
|
||||
|
||||
#endif /* AVCODEC_LATMENC_H */
|
||||
|
||||
|
@@ -31,7 +31,6 @@
|
||||
#include <libavutil/avassert.h>
|
||||
#include <ffmpeg/put_bits.h>
|
||||
|
||||
|
||||
void avpriv_align_put_bits(PutBitContext *s)
|
||||
{
|
||||
put_bits(s, s->bit_left & 7, 0);
|
||||
@@ -72,4 +71,3 @@ void avpriv_copy_bits(PutBitContext *pb, const uint8_t *src, int length)
|
||||
}
|
||||
put_bits(pb, bits, AV_RB16(src + 2 * words) >> (16 - bits));
|
||||
}
|
||||
|
||||
|
@@ -38,7 +38,6 @@
|
||||
#define latmenc_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
int latmenc_decode_extradata(LATMContext *ctx, uint8_t *buf, int size)
|
||||
{
|
||||
MPEG4AudioConfig m4ac;
|
||||
@@ -152,4 +151,3 @@ too_large:
|
||||
latmenc_err("LATM packet size larger than maximum size 0x1fff\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user