From 7575ffac8a2da4c03a606f6a94286979d953dde5 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 12 Jan 2012 21:05:08 -0500 Subject: mpegaudio parser: set duration instead of frame_size --- libavcodec/mpegaudio_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpegaudio_parser.c') diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index c6d670de2a..5fd9037b53 100644 --- 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; -- cgit v1.2.3