Revision 727c7aa0 libavformat/avio.c

View differences:

libavformat/avio.c
212 212
{
213 213
    return h->max_packet_size;
214 214
}
215
void url_get_filename(URLContext *h, char *buf, int buf_size)
216
{
217
    av_strlcpy(buf, h->filename, buf_size);
218
}
215 219
#endif
216 220

  
217 221
#define URL_SCHEME_CHARS                        \
......
372 376
    return h->prot->url_get_file_handle(h);
373 377
}
374 378

  
375
void url_get_filename(URLContext *h, char *buf, int buf_size)
376
{
377
    av_strlcpy(buf, h->filename, buf_size);
378
}
379

  
380

  
381 379
static int default_interrupt_cb(void)
382 380
{
383 381
    return 0;

Also available in: Unified diff