On Mon, Feb 27, 2012 at 02:12:59PM -0500, Justin Ruggles wrote:
> ---
>  libavformat/dxa.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/dxa.c b/libavformat/dxa.c
> index 13d2060..65ace26 100644
> --- a/libavformat/dxa.c
> +++ b/libavformat/dxa.c
> @@ -107,6 +107,8 @@ static int dxa_read_header(AVFormatContext *s)
>          ret = ff_get_wav_header(pb, ast->codec, fsize);
>          if (ret < 0)
>              return ret;
> +        if (ast->codec->sample_rate > 0)
> +            avpriv_set_pts_info(ast, 64, 1, ast->codec->sample_rate);
>          // find 'data' chunk
>          while(avio_tell(pb) < c->vidpos && !pb->eof_reached){
>              tag = avio_rl32(pb);
> -- 

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

Reply via email to