func: int show_codecs(void *optctx,const char *opt,const char *arg) const AVCodecDescriptor * * codecs ; unsigned int i ; unsigned int nb_codecs = get_codecs_sorted ( & codecs ) ; static unsigned int get_codecs_sorted(const AVCodecDescriptor ***rcodecs) const AVCodecDescriptor * desc = ( ( void * ) 0 ) ; unsigned int nb_codecs = 0 ; while ( desc = avcodec_descriptor_next ( desc ) )  nb_codecs ++; return nb_codecs ; for (i = 0; i < nb_codecs; i++) const AVCodecDescriptor * desc = codecs [ i ] ; const AVCodec * codec = ( ( void * ) 0 ) ; while ( codec = next_codec_for_id ( desc -> id , codec , 0 ) )  static const AVCodec *next_codec_for_id(enum AVCodecID id,const AVCodec *prev,int encoder) while ( prev = ( av_codec_next ( prev ) ) )  if ( ( prev -> id ) == id && ( ( encoder ? av_codec_is_encoder ( prev ) : av_codec_is_decoder ( prev ) ) ) )  return prev ; return ( ( void * ) 0 ) ; if ( strcmp ( codec -> name , desc -> name ) )  codec = ( ( void * ) 0 ); while ( codec = next_codec_for_id ( desc -> id , codec , 1 ) )  static const AVCodec *next_codec_for_id(enum AVCodecID id,const AVCodec *prev,int encoder) while ( prev = ( av_codec_next ( prev ) ) )  if ( ( prev -> id ) == id && ( ( encoder ? av_codec_is_encoder ( prev ) : av_codec_is_decoder ( prev ) ) ) )  return prev ; return ( ( void * ) 0 ) ; if ( strcmp ( codec -> name , desc -> name ) )  