On 11/25/2012 05:04 PM, Justin Ruggles wrote:
> From: Paul B Mahol <[email protected]>
> 
> Signed-off-by: Paul B Mahol <[email protected]>
> Signed-off-by: Justin Ruggles <[email protected]>
> ---
>  libavformat/yop.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/yop.c b/libavformat/yop.c
> index 351938b..5fe6bdc 100644
> --- a/libavformat/yop.c
> +++ b/libavformat/yop.c
> @@ -75,7 +75,7 @@ static int yop_read_header(AVFormatContext *s)
>      audio_dec->codec_type   = AVMEDIA_TYPE_AUDIO;
>      audio_dec->codec_id     = AV_CODEC_ID_ADPCM_IMA_APC;
>      audio_dec->channels     = 1;
> -    audio_dec->channels     = AV_CH_LAYOUT_MONO;
> +    audio_dec->channel_layout = AV_CH_LAYOUT_MONO;
>      audio_dec->sample_rate  = 22050;
>  
>      // Video
> 

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

Reply via email to