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
71f88b1f
Commit
71f88b1f
authored
Feb 15, 2011
by
Peter Ross
Committed by
Mans Rullgard
Feb 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
binkaudio: remove unused copy of AVCodecContext*
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
9806fbd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
binkaudio.c
libavcodec/binkaudio.c
+1
-3
No files found.
libavcodec/binkaudio.c
View file @
71f88b1f
...
...
@@ -41,7 +41,6 @@ extern const uint16_t ff_wma_critical_freqs[25];
#define BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11)
typedef
struct
{
AVCodecContext
*
avctx
;
GetBitContext
gb
;
DSPContext
dsp
;
FmtConvertContext
fmt_conv
;
...
...
@@ -71,7 +70,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
int
i
;
int
frame_len_bits
;
s
->
avctx
=
avctx
;
dsputil_init
(
&
s
->
dsp
,
avctx
);
ff_fmt_convert_init
(
&
s
->
fmt_conv
,
avctx
);
...
...
@@ -86,7 +84,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
s
->
frame_len
=
1
<<
frame_len_bits
;
if
(
avctx
->
channels
>
MAX_CHANNELS
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"too many channels: %d
\n
"
,
avctx
->
channels
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"too many channels: %d
\n
"
,
avctx
->
channels
);
return
-
1
;
}
...
...
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