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
e951b6d9
Commit
e951b6d9
authored
Feb 24, 2013
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbisdec: cosmetics: rename variable avccontext to avctx
This is consistent with the rest of libavcodec.
parent
b2d688ea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
76 deletions
+73
-76
vorbis.c
libavcodec/vorbis.c
+2
-2
vorbis.h
libavcodec/vorbis.h
+1
-1
vorbisdec.c
libavcodec/vorbisdec.c
+70
-73
No files found.
libavcodec/vorbis.c
View file @
e951b6d9
...
...
@@ -117,7 +117,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num)
return
0
;
}
int
ff_vorbis_ready_floor1_list
(
AVCodecContext
*
avc
context
,
int
ff_vorbis_ready_floor1_list
(
AVCodecContext
*
avc
tx
,
vorbis_floor1_entry
*
list
,
int
values
)
{
int
i
;
...
...
@@ -143,7 +143,7 @@ int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext,
int
j
;
for
(
j
=
i
+
1
;
j
<
values
;
j
++
)
{
if
(
list
[
i
].
x
==
list
[
j
].
x
)
{
av_log
(
avc
context
,
AV_LOG_ERROR
,
av_log
(
avc
tx
,
AV_LOG_ERROR
,
"Duplicate value found in floor 1 X coordinates
\n
"
);
return
AVERROR_INVALIDDATA
;
}
...
...
libavcodec/vorbis.h
View file @
e951b6d9
...
...
@@ -36,7 +36,7 @@ typedef struct vorbis_floor1_entry {
uint16_t
high
;
}
vorbis_floor1_entry
;
int
ff_vorbis_ready_floor1_list
(
AVCodecContext
*
avc
context
,
int
ff_vorbis_ready_floor1_list
(
AVCodecContext
*
avc
tx
,
vorbis_floor1_entry
*
list
,
int
values
);
unsigned
int
ff_vorbis_nth_root
(
unsigned
int
x
,
unsigned
int
n
);
// x^(1/n)
int
ff_vorbis_len2vlc
(
uint8_t
*
bits
,
uint32_t
*
codes
,
unsigned
num
);
...
...
libavcodec/vorbisdec.c
View file @
e951b6d9
This diff is collapsed.
Click to expand it.
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