[FFmpeg-cvslog] mpegaudio parser: set duration instead of frame_size
Justin Ruggles
git at videolan.org
Tue Feb 21 05:29:41 CET 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Jan 12 21:05:08 2012 -0500| [7575ffac8a2da4c03a606f6a94286979d953dde5] | committer: Justin Ruggles
mpegaudio parser: set duration instead of frame_size
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7575ffac8a2da4c03a606f6a94286979d953dde5
---
libavcodec/mpegaudio_parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c
index c6d670d..5fd9037 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;
More information about the ffmpeg-cvslog
mailing list