Hi,

On Tue, Jun 7, 2011 at 6:09 PM, Diego Biurrun <[email protected]> wrote:
> The AC-3 encoder unconditionally references some symbols from the E-AC-3
> encoder; make those references conditional to fix linking.
> ---
>  libavcodec/ac3enc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
> index 9e011af..e8ccde5 100644
> --- a/libavcodec/ac3enc.c
> +++ b/libavcodec/ac3enc.c
> @@ -566,7 +566,7 @@ static void apply_channel_coupling(AC3EncodeContext *s)
>         }
>     }
>
> -    if (s->eac3)
> +    if (CONFIG_EAC3_ENCODER && s->eac3)
>         ff_eac3_set_cpl_states(s);
>  #endif /* CONFIG_AC3ENC_FLOAT */
>  }
> @@ -1987,7 +1987,7 @@ static void output_frame(AC3EncodeContext *s, unsigned 
> char *frame)
>
>     init_put_bits(&s->pb, frame, AC3_MAX_CODED_FRAME_SIZE);
>
> -    if (s->eac3)
> +    if (CONFIG_EAC3_ENCODER && s->eac3)
>         ff_eac3_output_frame_header(s);
>     else
>         ac3_output_frame_header(s);
> --
> 1.7.1

OK.

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

Reply via email to