Revision 8d9ac969 libavformat/wtv.c
libavformat/wtv.c | ||
---|---|---|
236 | 236 |
return NULL; |
237 | 237 |
} |
238 | 238 |
|
239 |
pb = av_alloc_put_byte(buffer, 1 << wf->sector_bits, 0, wf,
|
|
239 |
pb = avio_alloc_context(buffer, 1 << wf->sector_bits, 0, wf,
|
|
240 | 240 |
wtvfile_read_packet, NULL, wtvfile_seek); |
241 | 241 |
if (!pb) { |
242 | 242 |
av_free(buffer); |
Also available in: Unified diff