1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mpegaudio parser: set duration instead of frame_size

This commit is contained in:
Justin Ruggles 2012-01-12 21:05:08 -05:00
parent 16e54ac725
commit 7575ffac8a

View File

@ -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;