From: Justin Ruggles Date: Fri, 13 Jan 2012 04:43:30 +0000 (-0500) Subject: mlp parser: set duration instead of frame_size X-Git-Tag: android-x86-4.4-r1~8529^2~3080 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b3a4c7e0f1faa327a52b10840eed14e116587894;p=android-x86%2Fexternal-ffmpeg.git mlp parser: set duration instead of frame_size --- diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index e0fedeb7e9..be71867c2d 100644 --- 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 */