This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpegaudio parser: set duration instead of frame_size
tags/n0.11
Justin Ruggles
13 years ago
parent
16e54ac725
commit
7575ffac8a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/mpegaudio_parser.c
+ 1
- 1
libavcodec/mpegaudio_parser.c
View File
@@ -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
Loading…
Cancel
Save