Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
6b96d2dc
Commit
6b96d2dc
authored
Feb 16, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: Drop particularly redundant silly comments
parent
29c2d06d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
53 deletions
+1
-53
h264_cavlc.c
libavcodec/h264_cavlc.c
+0
-3
lcldec.c
libavcodec/lcldec.c
+0
-18
lclenc.c
libavcodec/lclenc.c
+0
-18
smacker.c
libavcodec/smacker.c
+1
-14
No files found.
libavcodec/h264_cavlc.c
View file @
6b96d2dc
...
@@ -412,9 +412,6 @@ av_cold void ff_h264_decode_init_vlc(void){
...
@@ -412,9 +412,6 @@ av_cold void ff_h264_decode_init_vlc(void){
}
}
}
}
/**
*
*/
static
inline
int
get_level_prefix
(
GetBitContext
*
gb
){
static
inline
int
get_level_prefix
(
GetBitContext
*
gb
){
unsigned
int
buf
;
unsigned
int
buf
;
int
log
;
int
log
;
...
...
libavcodec/lcldec.c
View file @
6b96d2dc
...
@@ -50,9 +50,6 @@
...
@@ -50,9 +50,6 @@
#include <zlib.h>
#include <zlib.h>
#endif
#endif
/*
* Decoder context
*/
typedef
struct
LclDecContext
{
typedef
struct
LclDecContext
{
// Image type
// Image type
int
imgtype
;
int
imgtype
;
...
@@ -150,11 +147,6 @@ static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, i
...
@@ -150,11 +147,6 @@ static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, i
#endif
#endif
/*
*
* Decode a frame
*
*/
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
got_frame
,
AVPacket
*
avpkt
)
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
got_frame
,
AVPacket
*
avpkt
)
{
{
AVFrame
*
frame
=
data
;
AVFrame
*
frame
=
data
;
...
@@ -458,11 +450,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
...
@@ -458,11 +450,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
return
buf_size
;
return
buf_size
;
}
}
/*
*
* Init lcl decoder
*
*/
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
{
{
LclDecContext
*
const
c
=
avctx
->
priv_data
;
LclDecContext
*
const
c
=
avctx
->
priv_data
;
...
@@ -606,11 +593,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
...
@@ -606,11 +593,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
return
0
;
return
0
;
}
}
/*
*
* Uninit lcl decoder
*
*/
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
{
{
LclDecContext
*
const
c
=
avctx
->
priv_data
;
LclDecContext
*
const
c
=
avctx
->
priv_data
;
...
...
libavcodec/lclenc.c
View file @
6b96d2dc
...
@@ -48,9 +48,6 @@
...
@@ -48,9 +48,6 @@
#include <zlib.h>
#include <zlib.h>
/*
* Decoder context
*/
typedef
struct
LclEncContext
{
typedef
struct
LclEncContext
{
AVCodecContext
*
avctx
;
AVCodecContext
*
avctx
;
...
@@ -64,11 +61,6 @@ typedef struct LclEncContext {
...
@@ -64,11 +61,6 @@ typedef struct LclEncContext {
z_stream
zstream
;
z_stream
zstream
;
}
LclEncContext
;
}
LclEncContext
;
/*
*
* Encode a frame
*
*/
static
int
encode_frame
(
AVCodecContext
*
avctx
,
AVPacket
*
pkt
,
static
int
encode_frame
(
AVCodecContext
*
avctx
,
AVPacket
*
pkt
,
const
AVFrame
*
pict
,
int
*
got_packet
)
const
AVFrame
*
pict
,
int
*
got_packet
)
{
{
...
@@ -119,11 +111,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
...
@@ -119,11 +111,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
return
0
;
return
0
;
}
}
/*
*
* Init lcl encoder
*
*/
static
av_cold
int
encode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
encode_init
(
AVCodecContext
*
avctx
)
{
{
LclEncContext
*
c
=
avctx
->
priv_data
;
LclEncContext
*
c
=
avctx
->
priv_data
;
...
@@ -172,11 +159,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
...
@@ -172,11 +159,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
return
0
;
return
0
;
}
}
/*
*
* Uninit lcl encoder
*
*/
static
av_cold
int
encode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
encode_end
(
AVCodecContext
*
avctx
)
{
{
LclEncContext
*
c
=
avctx
->
priv_data
;
LclEncContext
*
c
=
avctx
->
priv_data
;
...
...
libavcodec/smacker.c
View file @
6b96d2dc
...
@@ -43,9 +43,7 @@
...
@@ -43,9 +43,7 @@
#define SMKTREE_BITS 9
#define SMKTREE_BITS 9
#define SMK_NODE 0x80000000
#define SMK_NODE 0x80000000
/*
* Decoder context
*/
typedef
struct
SmackVContext
{
typedef
struct
SmackVContext
{
AVCodecContext
*
avctx
;
AVCodecContext
*
avctx
;
AVFrame
*
pic
;
AVFrame
*
pic
;
...
@@ -531,12 +529,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -531,12 +529,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
}
}
/*
*
* Uninit smacker decoder
*
*/
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
{
{
SmackVContext
*
const
smk
=
avctx
->
priv_data
;
SmackVContext
*
const
smk
=
avctx
->
priv_data
;
...
@@ -552,11 +544,6 @@ static av_cold int decode_end(AVCodecContext *avctx)
...
@@ -552,11 +544,6 @@ static av_cold int decode_end(AVCodecContext *avctx)
}
}
/*
*
* Init smacker decoder
*
*/
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
{
{
SmackVContext
*
const
c
=
avctx
->
priv_data
;
SmackVContext
*
const
c
=
avctx
->
priv_data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment