On Tue, Jun 07, 2011 at 12:50:49PM -0400, Justin Ruggles wrote:
> 

Stuff like this needs to be tested for standalone compilation of all
related parts before pushing.

> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -124,7 +124,8 @@ OBJS-$(CONFIG_DVVIDEO_DECODER)         += dv.o dvdata.o
>  OBJS-$(CONFIG_EAC3_DECODER)            += eac3dec.o eac3dec_data.o
> -OBJS-$(CONFIG_EAC3_ENCODER)            += ac3enc_float.o ac3tab.o ac3.o 
> kbdwin.o
> +OBJS-$(CONFIG_EAC3_ENCODER)            += eac3enc.o ac3enc_float.o ac3tab.o \
> +                                          ac3.o kbdwin.o
> --- a/libavcodec/ac3enc.c
> +++ b/libavcodec/ac3enc.c
> @@ -741,34 +566,8 @@ static void apply_channel_coupling(AC3EncodeContext *s)
>  
> +    if (s->eac3)
> +        ff_eac3_set_cpl_states(s);

> @@ -2262,7 +1988,7 @@ static void output_frame(AC3EncodeContext *s, unsigned 
> char *frame)
>  
>      if (s->eac3)
> -        eac3_output_frame_header(s);
> +        ff_eac3_output_frame_header(s);

These two symbols are defined in another file that does not get compiled
with the AC-3 encoder.

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

Reply via email to