History

tiffenc: initialize forgotten avctx.

Jean First committed 15 years ago

Commit 47a1d791 parent c74f1f41 file · +1 −0Browse files

Unified · Split

libavcodec/tiffenc.c+1−0
@@ -217,6 +217,7 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf, · 216 unmodified lines
217217 uint8_t *yuv_line = NULL;
218218 int shift_h, shift_v;
219219
220+ s->avctx = avctx;
220221 s->buf_start = buf;
221222 s->buf = &ptr;
222223 s->buf_size = buf_size;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t