On Fri, Sep 23, 2011 at 06:07:47PM -0400, Justin Ruggles wrote:
> From: Jean First <[email protected]>
> 
> ---
>  libavcodec/tiffenc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
> index a141a47..d486b3f 100644
> --- a/libavcodec/tiffenc.c
> +++ b/libavcodec/tiffenc.c
> @@ -217,6 +217,7 @@ static int encode_frame(AVCodecContext * avctx, unsigned 
> char *buf,
>      uint8_t *yuv_line = NULL;
>      int shift_h, shift_v;
>  
> +    s->avctx = avctx;
>      s->buf_start = buf;
>      s->buf = &ptr;
>      s->buf_size = buf_size;
> -- 

There's no init func for that encoder so OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to