[FFmpeg-cvslog] mlp 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 23:43:30 2012 -0500| [b3a4c7e0f1faa327a52b10840eed14e116587894] | committer: Justin Ruggles
mlp parser: set duration instead of frame_size
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3a4c7e0f1faa327a52b10840eed14e116587894
---
libavcodec/mlp_parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index e0fedeb..be71867 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -311,7 +311,7 @@ static int mlp_parse(AVCodecParserContext *s,
else
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
avctx->sample_rate = mh.group1_samplerate;
- avctx->frame_size = mh.access_unit_size;
+ s->duration = mh.access_unit_size;
if (mh.stream_type == 0xbb) {
/* MLP stream */
More information about the ffmpeg-cvslog
mailing list