Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
6122b733
Commit
6122b733
authored
Mar 20, 2008
by
Baptiste Coudurier
Browse files
omg, fix compilation
Originally committed as revision 12509 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d0ed455f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodec.c
+3
-3
No files found.
libavcodec/mpegaudiodec.c
View file @
6122b733
...
...
@@ -2301,15 +2301,15 @@ static int mp_decode_frame(MPADecodeContext *s,
dprintf
(
s
->
avctx
,
"frame %d:
\n
"
,
s
->
frame_count
);
switch
(
s
->
layer
)
{
case
1
:
avctx
->
frame_size
=
384
;
s
->
avctx
->
frame_size
=
384
;
nb_frames
=
mp_decode_layer1
(
s
);
break
;
case
2
:
avctx
->
frame_size
=
1152
;
s
->
avctx
->
frame_size
=
1152
;
nb_frames
=
mp_decode_layer2
(
s
);
break
;
case
3
:
avctx
->
frame_size
=
s
->
lsf
?
576
:
1152
;
s
->
avctx
->
frame_size
=
s
->
lsf
?
576
:
1152
;
default:
nb_frames
=
mp_decode_layer3
(
s
);
...
...
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