Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3d929a60
Commit
3d929a60
authored
May 10, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegaudio: remove frame_count variable and its only usage, it is always 0.
parent
dc05b6af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
mpegaudio.h
libavcodec/mpegaudio.h
+0
-3
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+0
-1
No files found.
libavcodec/mpegaudio.h
View file @
3d929a60
...
...
@@ -147,9 +147,6 @@ typedef struct MPADecodeContext {
DECLARE_ALIGNED
(
16
,
INTFLOAT
,
sb_samples
)[
MPA_MAX_CHANNELS
][
36
][
SBLIMIT
];
INTFLOAT
mdct_buf
[
MPA_MAX_CHANNELS
][
SBLIMIT
*
18
];
/* previous samples, for layer 3 MDCT */
GranuleDef
granules
[
2
][
2
];
/* Used in Layer 3 */
#ifdef DEBUG
int
frame_count
;
#endif
int
adu_mode
;
///< 0 for standard mp3, 1 for adu formatted mp3
int
dither_state
;
int
error_recognition
;
...
...
libavcodec/mpegaudiodec.c
View file @
3d929a60
...
...
@@ -1872,7 +1872,6 @@ static int mp_decode_frame(MPADecodeContext *s,
if
(
s
->
error_protection
)
skip_bits
(
&
s
->
gb
,
16
);
av_dlog
(
s
->
avctx
,
"frame %d:
\n
"
,
s
->
frame_count
);
switch
(
s
->
layer
)
{
case
1
:
s
->
avctx
->
frame_size
=
384
;
...
...
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