Browse Source

mpegaudio parser: set duration instead of frame_size

tags/n0.11
Justin Ruggles 13 years ago
parent
commit
7575ffac8a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegaudio_parser.c

+ 1
- 1
libavcodec/mpegaudio_parser.c View File

@@ -77,7 +77,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
if(s->header_count > 1){ if(s->header_count > 1){
avctx->sample_rate= sr; avctx->sample_rate= sr;
avctx->channels = channels; avctx->channels = channels;
avctx->frame_size = frame_size;
s1->duration = frame_size;
avctx->bit_rate = bit_rate; avctx->bit_rate = bit_rate;
} }
break; break;


Loading…
Cancel
Save