Browse Source

tiffenc: initialize forgotten avctx.

tags/n0.9
Jean First Justin Ruggles 13 years ago
parent
commit
47a1d794db
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/tiffenc.c

+ 1
- 0
libavcodec/tiffenc.c View File

@@ -217,6 +217,7 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf,
uint8_t *yuv_line = NULL; uint8_t *yuv_line = NULL;
int shift_h, shift_v; int shift_h, shift_v;


s->avctx = avctx;
s->buf_start = buf; s->buf_start = buf;
s->buf = &ptr; s->buf = &ptr;
s->buf_size = buf_size; s->buf_size = buf_size;


Loading…
Cancel
Save