@ -40,28 +40,28 @@
*/
# define SHORT_SEEK_THRESHOLD 4096
static void * ffio_url _child_next ( void * obj , void * prev )
static void * ff_av io_child_next ( void * obj , void * prev )
{
AVIOContext * s = obj ;
return prev ? NULL : s - > opaque ;
}
static const AVClass * ffio_url _child_class_next ( const AVClass * prev )
static const AVClass * ff_av io_child_class_next ( const AVClass * prev )
{
return prev ? NULL : & ffurl_context_class ;
}
static const AVOption ffio_url _options [ ] = {
static const AVOption ff_av io_options [ ] = {
{ NULL } ,
} ;
const AVClass ffio_url _class = {
const AVClass ff_av io_class = {
. class_name = " AVIOContext " ,
. item_name = av_default_item_name ,
. version = LIBAVUTIL_VERSION_INT ,
. option = ffio_url _options ,
. child_next = ffio_url _child_next ,
. child_class_next = ffio_url _child_class_next ,
. option = ff_av io_options ,
. child_next = ff_av io_child_next ,
. child_class_next = ff_av io_child_class_next ,
} ;
static void fill_buffer ( AVIOContext * s ) ;
@ -703,7 +703,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h)
( * s ) - > read_pause = ( int ( * ) ( void * , int ) ) h - > prot - > url_read_pause ;
( * s ) - > read_seek = ( int64_t ( * ) ( void * , int , int64_t , int ) ) h - > prot - > url_read_seek ;
}
( * s ) - > av_class = & ffio_url _class ;
( * s ) - > av_class = & ff_av io_class ;
return 0 ;
}