On Fri, 29 Jul 2011 02:36:11 -0400, Dustin Brody <[email protected]> wrote:
> ---
>  libavcodec/s302m.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c
> index 2e261b6..faaa8ed 100644
> --- a/libavcodec/s302m.c
> +++ b/libavcodec/s302m.c
> @@ -58,9 +58,9 @@ static int s302m_parse_frame_header(AVCodecContext *avctx, 
> const uint8_t *buf,
>      /* Set output properties */
>      avctx->bits_per_coded_sample = bits;
>      if (bits > 16)
> -        avctx->sample_fmt = SAMPLE_FMT_S32;
> +        avctx->sample_fmt = AV_SAMPLE_FMT_S32;
>      else
> -        avctx->sample_fmt = SAMPLE_FMT_S16;
> +        avctx->sample_fmt = AV_SAMPLE_FMT_S16;
>  
>      avctx->channels    = channels;
>      avctx->sample_rate = 48000;
> -- 
> 1.7.2.5

Pushed.

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

Reply via email to