Revision 80c6e238 libavformat/avio.c

View differences:

libavformat/avio.c
216 216
{
217 217
    av_strlcpy(buf, h->filename, buf_size);
218 218
}
219
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb)
220
{
221
    avio_set_interrupt_cb(interrupt_cb);
222
}
219 223
#endif
220 224

  
221 225
#define URL_SCHEME_CHARS                        \
......
381 385
    return 0;
382 386
}
383 387

  
384
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb)
388
void avio_set_interrupt_cb(URLInterruptCB *interrupt_cb)
385 389
{
386 390
    if (!interrupt_cb)
387 391
        interrupt_cb = default_interrupt_cb;

Also available in: Unified diff