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
6785cae3
Commit
6785cae3
authored
Jul 08, 2007
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial warning fixes
Originally committed as revision 9551 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4a64abdc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
h263_parser.c
libavcodec/h263_parser.c
+1
-1
wma.h
libavcodec/wma.h
+1
-1
wmaenc.c
libavcodec/wmaenc.c
+2
-2
zmbv.c
libavcodec/zmbv.c
+1
-1
No files found.
libavcodec/h263_parser.c
View file @
6785cae3
...
...
@@ -71,7 +71,7 @@ static int h263_parse(AVCodecParserContext *s,
next
=
ff_h263_find_frame_end
(
pc
,
buf
,
buf_size
);
if
(
ff_combine_frame
(
pc
,
next
,
(
uint8_t
**
)
&
buf
,
&
buf_size
)
<
0
)
{
if
(
ff_combine_frame
(
pc
,
next
,
&
buf
,
&
buf_size
)
<
0
)
{
*
poutbuf
=
NULL
;
*
poutbuf_size
=
0
;
return
buf_size
;
...
...
libavcodec/wma.h
View file @
6785cae3
...
...
@@ -92,7 +92,7 @@ typedef struct WMACodecContext {
uint16_t
*
run_table
[
2
];
uint16_t
*
level_table
[
2
];
uint16_t
*
int_table
[
2
];
CoefVLCTable
*
coef_vlcs
[
2
];
const
CoefVLCTable
*
coef_vlcs
[
2
];
/* frame info */
int
frame_len
;
///< frame length in samples
int
frame_len_bits
;
///< frame_len = 1 << frame_len_bits
...
...
libavcodec/wmaenc.c
View file @
6785cae3
...
...
@@ -94,7 +94,7 @@ static void apply_window_and_mdct(AVCodecContext * avctx, signed short * audio,
}
//FIXME use for decoding too
static
void
init_exp
(
WMACodecContext
*
s
,
int
ch
,
int
*
exp_param
){
static
void
init_exp
(
WMACodecContext
*
s
,
int
ch
,
const
int
*
exp_param
){
int
n
;
const
uint16_t
*
ptr
;
float
v
,
*
q
,
max_scale
,
*
q_end
;
...
...
@@ -324,7 +324,7 @@ static int encode_superframe(AVCodecContext *avctx,
unsigned
char
*
buf
,
int
buf_size
,
void
*
data
){
WMACodecContext
*
s
=
avctx
->
priv_data
;
short
*
samples
=
data
;
int
i
,
total_gain
,
best
;
int
i
,
total_gain
;
s
->
block_len_bits
=
s
->
frame_len_bits
;
//required by non variable block len
s
->
block_len
=
1
<<
s
->
block_len_bits
;
...
...
libavcodec/zmbv.c
View file @
6785cae3
...
...
@@ -535,7 +535,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
out
[
i
*
3
+
0
]
=
c
->
pal
[(
*
src
)
*
3
+
0
];
out
[
i
*
3
+
1
]
=
c
->
pal
[(
*
src
)
*
3
+
1
];
out
[
i
*
3
+
2
]
=
c
->
pal
[(
*
src
)
*
3
+
2
];
*
src
++
;
src
++
;
}
out
+=
c
->
pic
.
linesize
[
0
];
}
...
...
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