On Thu, Jan 12, 2012 at 11:43:30PM -0500, Justin Ruggles wrote:
> ---
>  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 */
> -- 

looks OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to