Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
06029fbb
Commit
06029fbb
authored
Nov 30, 2011
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
escape130: minimal effort to make it compile without warnings
parent
7d643914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
escape130.c
libavcodec/escape130.c
+14
-12
No files found.
libavcodec/escape130.c
View file @
06029fbb
...
...
@@ -22,7 +22,7 @@
#include "avcodec.h"
#define ALT_BITSTREAM_READER_LE
#include "
bitstream
.h"
#include "
get_bits
.h"
typedef
struct
Escape130Context
{
AVFrame
frame
;
...
...
@@ -91,8 +91,10 @@ static unsigned decode_skip_count(GetBitContext* gb) {
*/
static
int
escape130_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
const
uint8_t
*
buf
,
int
buf_size
)
AVPacket
*
avpkt
)
{
const
uint8_t
*
buf
=
avpkt
->
data
;
int
buf_size
=
avpkt
->
size
;
Escape130Context
*
s
=
avctx
->
priv_data
;
GetBitContext
gb
;
...
...
@@ -294,14 +296,14 @@ static int escape130_decode_frame(AVCodecContext *avctx,
}
AVCodec
escape130_decoder
=
{
"escape130"
,
CODEC
_TYPE_VIDEO
,
CODEC_ID_ESCAPE130
,
sizeof
(
Escape130Context
),
escape130_decode_init
,
NULL
,
escape130_decode_clos
e
,
escape130_decode_frame
,
CODEC_CAP_DR1
,
AVCodec
ff_
escape130_decoder
=
{
.
name
=
"escape130"
,
.
type
=
AVMEDIA
_TYPE_VIDEO
,
.
id
=
CODEC_ID_ESCAPE130
,
.
priv_data_size
=
sizeof
(
Escape130Context
),
.
init
=
escape130_decode_init
,
.
close
=
escape130_decode_close
,
.
decode
=
escape130_decode_fram
e
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Escape 130"
)
,
};
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