mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-06 07:20:54 +00:00
av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
562b216307
commit
84be6e7239
5 changed files with 33 additions and 8 deletions
|
@ -41,6 +41,18 @@ AVInputFormat *first_iformat = NULL;
|
|||
/** head of registered output format linked list. */
|
||||
AVOutputFormat *first_oformat = NULL;
|
||||
|
||||
AVInputFormat *av_iformat_next(AVInputFormat *f)
|
||||
{
|
||||
if(f) return f->next;
|
||||
else return first_iformat;
|
||||
}
|
||||
|
||||
AVOutputFormat *av_oformat_next(AVOutputFormat *f)
|
||||
{
|
||||
if(f) return f->next;
|
||||
else return first_oformat;
|
||||
}
|
||||
|
||||
void av_register_input_format(AVInputFormat *format)
|
||||
{
|
||||
AVInputFormat **p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue