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:
2460b16
)
mlp parser: set duration instead of frame_size
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 13 Jan 2012 04:43:30 +0000
(23:43 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 20 Feb 2012 20:08:41 +0000
(15:08 -0500)
libavcodec/mlp_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlp_parser.c
b/libavcodec/mlp_parser.c
index
e0fedeb
..
be71867
100644
(file)
--- a/
libavcodec/mlp_parser.c
+++ b/
libavcodec/mlp_parser.c
@@
-311,7
+311,7
@@
static int mlp_parse(AVCodecParserContext *s,
else
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
avctx->sample_rate = mh.group1_samplerate;
-
avctx->frame_size
= mh.access_unit_size;
+
s->duration
= mh.access_unit_size;
if (mh.stream_type == 0xbb) {
/* MLP stream */