comparison avformat.h @ 4486:fde631f0bc67 libavformat

Document av_iformat_next() and av_oformat_next() functions.
author stefano
date Sun, 15 Feb 2009 09:04:08 +0000
parents 9eedb6599102
children 724c0f6a52dc
comparison
equal deleted inserted replaced
4485:9267b8cf7918 4486:fde631f0bc67
685 #if LIBAVFORMAT_VERSION_INT < (53<<16) 685 #if LIBAVFORMAT_VERSION_INT < (53<<16)
686 extern AVInputFormat *first_iformat; 686 extern AVInputFormat *first_iformat;
687 extern AVOutputFormat *first_oformat; 687 extern AVOutputFormat *first_oformat;
688 #endif 688 #endif
689 689
690 /**
691 * If f is NULL, returns the first registered input format,
692 * if f is non-NULL, returns the registered input format next after f,
693 * or NULL if f is the last one.
694 */
690 AVInputFormat *av_iformat_next(AVInputFormat *f); 695 AVInputFormat *av_iformat_next(AVInputFormat *f);
696
697 /**
698 * If f is NULL, returns the first registered output format,
699 * if f is non-NULL, returns the registered output format next after f,
700 * or NULL if f is the last one.
701 */
691 AVOutputFormat *av_oformat_next(AVOutputFormat *f); 702 AVOutputFormat *av_oformat_next(AVOutputFormat *f);
692 703
693 enum CodecID av_guess_image2_codec(const char *filename); 704 enum CodecID av_guess_image2_codec(const char *filename);
694 705
695 /* XXX: use automatic init with either ELF sections or C file parser */ 706 /* XXX: use automatic init with either ELF sections or C file parser */