[libav-devel] [PATCH] cljr: split decoder and encoder

Diego Biurrun diego at biurrun.de
Wed Jun 25 16:59:25 CEST 2014


On Wed, Jun 25, 2014 at 04:21:58PM +0530, Nidhi Makhijani wrote:
> --- a/libavcodec/cljr.c
> +++ b/libavcodec/cljrenc.c
> @@ -21,83 +21,13 @@
>  
> -#include "avcodec.h"
>  #include "get_bits.h"
>  #include "internal.h"
>  #include "put_bits.h"
>  
> -#if CONFIG_CLJR_ENCODER
>  static av_cold int encode_init(AVCodecContext *avctx)

The new file uses AVCodecContext, which is defined in avcodec.h.  If you
drop header includes, you need to ensure they really are no longer
required.

probably OK otherwise

Diego


More information about the libav-devel mailing list