OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e54ac
)
mpegaudio parser: set duration instead of frame_size
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 13 Jan 2012 02:05:08 +0000
(21:05 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 20 Feb 2012 20:08:40 +0000
(15:08 -0500)
libavcodec/mpegaudio_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudio_parser.c
b/libavcodec/mpegaudio_parser.c
index
c6d670d
..
5fd9037
100644
(file)
--- a/
libavcodec/mpegaudio_parser.c
+++ b/
libavcodec/mpegaudio_parser.c
@@
-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;