Commit 7575ffac authored by Justin Ruggles's avatar Justin Ruggles

mpegaudio parser: set duration instead of frame_size

parent 16e54ac7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment