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
7575ffac
Commit
7575ffac
authored
Jan 12, 2012
by
Justin Ruggles
Browse files
mpegaudio parser: set duration instead of frame_size
parent
16e54ac7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libavcodec/mpegaudio_parser.c
libavcodec/mpegaudio_parser.c
+1
-1
No files found.
libavcodec/mpegaudio_parser.c
View file @
7575ffac
...
...
@@ -77,7 +77,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
if
(
s
->
header_count
>
1
){
avctx
->
sample_rate
=
sr
;
avctx
->
channels
=
channels
;
avctx
->
frame_size
=
frame_size
;
s1
->
duration
=
frame_size
;
avctx
->
bit_rate
=
bit_rate
;
}
break
;
...
...
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