Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
0345fade
Commit
0345fade
authored
17 years ago
by
Justin Ruggles
Browse files
Options
Downloads
Patches
Plain Diff
do not need to cast a (void *)
Originally committed as revision 11357 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1b70d88b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/ac3dec.c
+2
-2
2 additions, 2 deletions
libavcodec/ac3dec.c
with
2 additions
and
2 deletions
libavcodec/ac3dec.c
+
2
−
2
View file @
0345fade
...
@@ -1073,7 +1073,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
...
@@ -1073,7 +1073,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
*/
*/
static
int
ac3_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
static
int
ac3_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
{
{
AC3DecodeContext
*
s
=
(
AC3DecodeContext
*
)
avctx
->
priv_data
;
AC3DecodeContext
*
s
=
avctx
->
priv_data
;
int16_t
*
out_samples
=
(
int16_t
*
)
data
;
int16_t
*
out_samples
=
(
int16_t
*
)
data
;
int
i
,
blk
,
ch
,
err
;
int
i
,
blk
,
ch
,
err
;
...
@@ -1141,7 +1141,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
...
@@ -1141,7 +1141,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
*/
*/
static
int
ac3_decode_end
(
AVCodecContext
*
avctx
)
static
int
ac3_decode_end
(
AVCodecContext
*
avctx
)
{
{
AC3DecodeContext
*
s
=
(
AC3DecodeContext
*
)
avctx
->
priv_data
;
AC3DecodeContext
*
s
=
avctx
->
priv_data
;
ff_mdct_end
(
&
s
->
imdct_512
);
ff_mdct_end
(
&
s
->
imdct_512
);
ff_mdct_end
(
&
s
->
imdct_256
);
ff_mdct_end
(
&
s
->
imdct_256
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment