mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-29 08:20: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:
@@ -468,7 +468,6 @@ int LinuxDvbAudioMute(Context_t *context __attribute__((unused)), char *flag)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
int LinuxDvbFlush(Context_t *context __attribute__((unused)), char *type)
|
||||
{
|
||||
// unsigned char video = !strcmp("video", type);
|
||||
@@ -566,7 +565,6 @@ int LinuxDvbFastForward(Context_t *context, char *type)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
int LinuxDvbReverse(Context_t *context __attribute__((unused)), char *type __attribute__((unused)))
|
||||
{
|
||||
int ret = cERR_LINUXDVB_NO_ERROR;
|
||||
|
@@ -439,7 +439,6 @@ int LinuxDvbAudioMute(Context_t *context __attribute__((unused)), char *flag)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
int LinuxDvbFlush(Context_t *context __attribute__((unused)), char *type)
|
||||
{
|
||||
unsigned char video = !strcmp("video", type);
|
||||
@@ -540,7 +539,6 @@ int LinuxDvbFastForward(Context_t *context, char *type)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
int LinuxDvbReverse(Context_t *context __attribute__((unused)), char *type __attribute__((unused)))
|
||||
{
|
||||
int ret = cERR_LINUXDVB_NO_ERROR;
|
||||
|
@@ -84,7 +84,6 @@ Number, Style, Name,, MarginL, MarginR, MarginV, Effect,, Text
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
@@ -320,7 +319,6 @@ static int Command(void *_context, OutputCmd_t command, void *argument)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
static char *SubtitleCapabilitis[] = { "subtitle", NULL };
|
||||
|
||||
Output_t SubtitleOutput =
|
||||
|
@@ -57,7 +57,6 @@
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -371,4 +371,4 @@ struct Writer_s WriterAudioAACPLUS =
|
||||
&writeDataADTS,
|
||||
NULL,
|
||||
&caps_aacplus
|
||||
};
|
||||
};
|
||||
|
@@ -172,5 +172,3 @@ struct Writer_s WriterAudioAMR =
|
||||
NULL,
|
||||
&caps_amr
|
||||
};
|
||||
|
||||
|
||||
|
@@ -55,7 +55,6 @@
|
||||
#define B_GET_BITS(w,e,b) (((w)>>(b))&(((unsigned)(-1))>>((sizeof(unsigned))*8-(e+1-b))))
|
||||
#define B_SET_BITS(name,v,e,b) (((unsigned)(v))<<(b))
|
||||
|
||||
|
||||
#ifdef SAM_WITH_DEBUG
|
||||
#define DIVX_DEBUG
|
||||
#else
|
||||
|
@@ -186,4 +186,3 @@ struct Writer_s WriterAudioVORBIS =
|
||||
NULL,
|
||||
&caps_vorbis
|
||||
};
|
||||
|
||||
|
@@ -100,7 +100,6 @@ static uint32_t fixed_bufferfilled;
|
||||
/* MISC Functions */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
static int32_t reset()
|
||||
{
|
||||
initialHeader = 1;
|
||||
|
@@ -78,7 +78,6 @@ static short debug_level = 10;
|
||||
#define vc1_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
@@ -75,7 +75,6 @@ static short debug_level = 10;
|
||||
#define vp_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
@@ -150,7 +149,6 @@ static int writeDataVP89(void *_call)
|
||||
return writeData(_call, 0);
|
||||
}
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Writer Definition */
|
||||
/* ***************************** */
|
||||
|
@@ -182,7 +182,6 @@ struct Writer_s WriterAudioWMAPRO =
|
||||
&capsWMAPRO
|
||||
};
|
||||
|
||||
|
||||
static WriterCaps_t capsWMA =
|
||||
{
|
||||
"wma",
|
||||
|
@@ -63,7 +63,6 @@ static Writer_t *AvailableWriter[] =
|
||||
{
|
||||
&WriterAudioAAC,
|
||||
&WriterAudioAACLATM,
|
||||
&WriterAudioAACLATM,
|
||||
&WriterAudioAACPLUS,
|
||||
&WriterAudioAC3,
|
||||
&WriterAudioEAC3,
|
||||
|
@@ -43,7 +43,6 @@
|
||||
#include <libavutil/intreadwrite.h>
|
||||
#include "ffmpeg/latmenc.h"
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "output.h"
|
||||
#include "debug.h"
|
||||
@@ -369,4 +368,4 @@ struct Writer_s WriterAudioAACPLUS =
|
||||
&writeDataADTS,
|
||||
NULL,
|
||||
&caps_aacplus
|
||||
};
|
||||
};
|
||||
|
@@ -162,4 +162,4 @@ struct Writer_s WriterAudioEAC3 =
|
||||
&writeData,
|
||||
NULL,
|
||||
&caps_eac3
|
||||
};
|
||||
};
|
||||
|
@@ -191,7 +191,6 @@ struct Writer_s WriterVideoMPEG4 =
|
||||
&mpeg4p2_caps
|
||||
};
|
||||
|
||||
|
||||
struct Writer_s WriterVideoMSCOMP =
|
||||
{
|
||||
&reset,
|
||||
|
@@ -217,7 +217,6 @@ struct Writer_s WriterVideoMPEG4 =
|
||||
&mpeg4p2_caps
|
||||
};
|
||||
|
||||
|
||||
struct Writer_s WriterVideoMSCOMP =
|
||||
{
|
||||
&reset,
|
||||
|
@@ -91,7 +91,6 @@ typedef struct avcC_s
|
||||
unsigned char Params[1]; /* {length,params}{length,params}...sequence then picture*/
|
||||
} avcC_t;
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -175,4 +175,3 @@ struct Writer_s WriterAudioVORBIS =
|
||||
NULL,
|
||||
&caps_vorbis
|
||||
};
|
||||
|
||||
|
@@ -54,7 +54,6 @@
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -58,7 +58,6 @@
|
||||
#define METADATA_STRUCT_B_FRAMERATE_START 32
|
||||
#define METADATA_STRUCT_C_START 8
|
||||
|
||||
|
||||
#define VC1_SEQUENCE_LAYER_METADATA_START_CODE 0x80
|
||||
#define VC1_FRAME_START_CODE 0x0d
|
||||
|
||||
@@ -84,14 +83,12 @@ static short debug_level = 0;
|
||||
#define vc1_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
static const unsigned char SequenceLayerStartCode[] = {0x00, 0x00, 0x01, VC1_SEQUENCE_LAYER_METADATA_START_CODE};
|
||||
|
||||
|
||||
static const unsigned char Metadata[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0xc5,
|
||||
@@ -260,4 +257,3 @@ struct Writer_s WriterVideoVC1 =
|
||||
NULL,
|
||||
&caps
|
||||
};
|
||||
|
||||
|
@@ -171,7 +171,6 @@ struct Writer_s WriterAudioWMAPRO =
|
||||
&capsWMAPRO
|
||||
};
|
||||
|
||||
|
||||
static WriterCaps_t capsWMA =
|
||||
{
|
||||
"wma",
|
||||
|
@@ -80,7 +80,6 @@ static short debug_level = 0;
|
||||
#define wmv_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
Reference in New Issue
Block a user